Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Background alignment for rounded stacked bar

Open EbereUzodufa opened this issue 2 years ago • 2 comments

Feature Proposal

Thank you guys for the features created so far.

Please can we get a feature where the background of rounded stacked bars are aligned like this image

This is the current view we have image

Possible Implementation

I think if the stacked bars can start from y=0 then maybe it can help.

EbereUzodufa avatar Jan 09 '22 10:01 EbereUzodufa

got any solution?

Abhi-Programming avatar Jan 29 '22 17:01 Abhi-Programming

I don't think there's an easy solution to this. Doing the drawing is likely possible using the same logic that determines which corners to apply rounding to. I think the more complex math problem is doing hit detection in the areas outside the rounded border

etimberg avatar Jan 29 '22 18:01 etimberg