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

`hoverBorderWidth` is setting with for point

Open wintercounter opened this issue 3 years ago • 1 comments

Expected behavior

hoverBorderWidth sets line width.

Current behavior

You can see this in the example. I have hoverBorderWidth, but it's applied as pointHoverBorderWidth.

Reproducible sample

https://codesandbox.io/s/determined-sutherland-13xodd?file=/src/index.js

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

v3.8.0

Browser name and version

No response

Link to your project

No response

wintercounter avatar May 26 '22 11:05 wintercounter

@etimberg @kurkle should we remove the hoverBorderWidth option in favour of pointHoverBorderWidth?

And maby next to that also remove the feature that setting the background and border* options also apply to the point itself. So that only the options prefixed with point apply to the point.

LeeLenaleee avatar Aug 18 '22 13:08 LeeLenaleee