-
-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Multichart in same page only loads one #801
Comments
Thank you for raising this. I just upgraded from 3.5.1 to 4.0.4 and had the same problem. I would never have guessed to downgrade to 4.0.3. |
@DanyDes @edwardsph fixed in 4.0.5 |
If you make the chart data reactive, then only the last chart will update and shown (with 4.0.5) |
@tttaisgt Can you repo this bug on the sandbox? |
@thabarbados
occurs In my case, the code is similar to the URL above, the phenomenon of chart disappearing occurs, please see the video: Screen.Recording.2022-04-10.at.00.27.37.mov |
@thabarbados |
@akhchan99 @tttaisgt @hoduyquang75 I am trying to fix this bug. Until I do this, you can downgrade to version 4.0.3. |
@thabarbados I think I have a solution for this bug, at least it worked when I tested it. Is there a way for me to push my changes? |
@ShacharMeir007 Sounds great! |
Fix bug updating multiple reactive charts on one page, except when using the chartjs-plugin-annotation and Vue 2 simultaneously. #801
Would you like to work on a fix?
Current and expected behavior
I've been working with the library and when I needed to show multiple charts it did't work. I was using the
4.0.4
version then downgraded it to the version4.0.3
and worked perfectly.I just wanted to report it.
Reproduction
https://codesandbox.io/s/optimistic-hill-nc0h95?file=/src/App.vue
chart.js version
3.7.1
vue-chartjs version
4.0.4
Possible solution
No response
The text was updated successfully, but these errors were encountered: