Skip to content

legend onLeave update chart max callstack size exeeded #8747

Description

@LeeLenaleee

Expected Behavior

Whenn calling update in the legend onLeave hook the chart should get updated

Current Behavior

The chart throws an error max callstack exeeded

Steps to Reproduce

https://jsfiddle.net/Leelenaleee/w3g9srkf/31/
Comment out the update in the onleavehook to see it working

Context

tried to make a basic example on how to highlight a pie for #8743 but then noticed I couldnt update the colors back in the onleave hook

Environment

  • Chart.js version: 3.0.0-rc.6
  • Browser name and version:
  • Link to your project:

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions