Skip to content

Error: Canvas is already in use. Chart with ID '1' must be destroyed before the canvas can be reused. #675

@nemanja3

Description

@nemanja3

My question is : how can i destroy chart with ID = 1 in React (react-chartjs-2). Ive seen how to destroy charts in js, but there is no documentation on how to destroy a chart in React.

Thank you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions