Skip to content

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

Merged
etimberg merged 1 commit intochartjs:masterfrom
waszkiewiczja:bugfix/r-in-bubbledatapoint
Feb 12, 2024
Merged

bugfix #10896 - Changed 'r' to optional for BubbleChart#11662
etimberg merged 1 commit intochartjs:masterfrom
waszkiewiczja:bugfix/r-in-bubbledatapoint

Conversation

@waszkiewiczja
Copy link
Copy Markdown
Contributor

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.

@etimberg etimberg added this to the Version 4.5.0 milestone Feb 11, 2024
@etimberg etimberg added the type: types Typescript type changes label Feb 11, 2024
@etimberg etimberg merged commit caa56ce into chartjs:master Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: types Typescript type changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants