You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when you set a borderWidth to an arc element, the width of the border is ignored by ArcElement when inRange method is invoked.
When a lineWidth is set before drawing on the canvas, half with is part of the shape itself but half width is drawn outside the shape.
In my opinion, but correct me if I'm wrong, the border width should be take in consideration as part of the element.
Feature Proposal
Currently, when you set a
borderWidth
to an arc element, the width of the border is ignored byArcElement
wheninRange
method is invoked.When a
lineWidth
is set before drawing on the canvas, half with is part of the shape itself but half width is drawn outside the shape.In my opinion, but correct me if I'm wrong, the border width should be take in consideration as part of the element.
Codepen: https://codepen.io/stockinail/pen/VwGzWZN
If you move the mouse, hovering the pie chart, you can see that the border will appear when the mouse point is in the middle of the border.
Possible Implementation
I havent seen the arc element code yet, therefore I can only write now, it should be considered.
The text was updated successfully, but these errors were encountered: