chartjs / Chart.js

Simple HTML5 Charts using the <canvas> tag
https://www.chartjs.org/
MIT License
63.94k stars 11.89k forks source link

Point Configuration: Radius #11642

Open escael opened 5 months ago

escael commented 5 months ago

Documentation Is:

Please Explain in Detail...

https://www.chartjs.org/docs/latest/configuration/elements.html#point-configuration

In the Radius section of the Points configuration, it specifies that the radius is of type Number, but it actually also accepts an array of numbers.

I have spent a day and a half looking for an alternative solution to paint different radius values. If I had known that something like this was possible:

radius: [0, 0, 0, 0, 0, 6, 6, 6, 6, 0, 0, 0]

And not just like this:

radius: 6

Thanks Captura de pantalla 2024-01-18 a las 15 42 47

Your Proposal for Changes

Make documentation clearer

Example

No response