Repository navigation
Multiple on same page, all updating on drag end #123
Unanswered
SteveEarl-AWS
asked this question in
Q&A
Replies: 2 comments
|
What is the chart type you are using? Doesn't seem to happen with radar chart. |
0 replies
|
@SteveEarl-AWS if you could provide at least the info regarding which type of chart you are using, this could let us help you. Ideally, an MWE snippet / repo would be awesome. There are some things I've already discovered in the code we currently have that should be changed and will be changed in the future. The current implementation uses global variables for storing the state of a plugin instance, whereas it should rather store these as properties of an instance of a class. Yet, if I were to bet (since we don't have the code nor even know the chart type / use case), I would suspect a problem in the driver code. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have an app in which I’m trying to use chartjs as an input mechanism for data by hour and by day. I have 7 charts and each chart has a single dataset with 24 elements (one number for each hour interval).
What I’m seeing is that I can drag datapoint on Monday, for example, then switch to Friday and as soon as I begin dragging in Friday, the Friday chart is updated with Monday’s data.
If I then drag in Wednesday, the Wednesday chart is updated with Monday’s and Wednesday’s cumulative changes.
I’ve tried this in the most simplest form using example drag data examples and can reproduce the behavior.
Has anyone seen this and solved for it?
All reactions