You don't need the Object.assign() to be able to fix this, you can simply duplicate/store initial values in a variable then inverse them on the time of the script calling and it would solve the problem.Shows an inversion of the axes, without which it seems that the chart crashes. What i've noticed is that I can set a variable I expected after updating the config variable ( that contains all the labels, data and options ) to help render a new Chart with the different type. I've created a simple pen script that would showcase the issue I'm currently having. In this situation, it's changing the type of chart from 'line' to 'horizontalBar' or 'radar'. I'm trying to make a chart that can switch between multiple views.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |