chartjs / Chart.js

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

bugfix #10896 - Changed 'r' to optional for BubbleChart #11662

Closed waszkiewiczja closed 7 months ago

waszkiewiczja commented 7 months ago

This is a change to BubbleDataPoint to set r as an optional parameter.

As mentioned here #11602 BubbleChart works without this parameter because it takes the default r value from the dataset property radius and it default value is 3.

TS screams: Property 'r' is missing in type '{ x: number; y: number; }' but required in type 'BubbleDataPoint'. but it doesn't affect the chart.