You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The label is now correct, but the value(yLabel) of the tooltip is still incorrect. It looks like it's the yLabel that is returning old data on line 2649 in Chart.js
The issue here is that internally the data object is attached to lots of places (scales, tooltip, etc). The solution is to simply store the reference to the data object in a single place.
This almost works correctly - the initial loading of data is correct, but when I do the following with new data for barChartData :
Only the chart itself updates with the correct data, but tooltip is incorrect. So I then did the following:
The label is now correct, but the value(yLabel) of the tooltip is still incorrect. It looks like it's the yLabel that is returning old data on line 2649 in Chart.js
I may be going about this the wrong way, but from what I can tell this is the best and easiest method for me.
The text was updated successfully, but these errors were encountered: