Skip to content

Dynamically create a new chart #8445

Answered by LeeLenaleee
joaobonanca asked this question in Q&A
Discussion options

You must be logged in to vote

you will have to solve this in your own code. When a user adds a new category you will need to add a new canvas to your page and then you can call the new Chart(ctx, config) again to make a chart on that canvas

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@joaobonanca
Comment options

Answer selected by etimberg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants