Skip to content

Conversation

@kurkle
Copy link
Member

@kurkle kurkle commented May 11, 2021

Fix chartjs/chartjs-plugin-annotation#423

In annotation plugin, when the annotations option is an array of objects, updating the objects did not work properly.
This is because the array that is returned when accessing options, is an array of resolvers, and those resolvers did not properly determine where the changed value should be stored (it was stored in the array).

@kurkle kurkle added this to the Version 3.3 milestone May 11, 2021
@kurkle kurkle merged commit f1ca99b into chartjs:master May 12, 2021
@kurkle kurkle deleted the resolver-array branch May 30, 2021 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weird behaviour when updating annotations on Chart.js ^3.1.0

2 participants