Skip to content

Conversation

@F-A-N-D-E
Copy link

The default legend onClick example used outdated methods (show / hide)
which caused a TypeError in Chart.js v4.
Updated to use toggleDataVisibility() and update() instead.
Fixes #12144.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The example for overriding legend onClick is outdated

1 participant