Skip to content
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

Dynamic data not plotting correctly #54

Closed
goalstogrowth opened this issue Feb 14, 2019 · 2 comments
Closed

Dynamic data not plotting correctly #54

goalstogrowth opened this issue Feb 14, 2019 · 2 comments

Comments

@goalstogrowth
Copy link

Changing out the series data plots the new points correctly, but it draws the lines incorrectly. Instead of drawing a line from the last point in the series to the new point, it draws the line from the first point to the new point without erasing the old line in between. Is there a way to force a complete redraw?
capture

@goalstogrowth
Copy link
Author

I should probably add that the whole data set has to be updated, not just a single point. Data can be updated at any point across the x-axis and not just the last in the series.

@Denyllon
Copy link
Contributor

Denyllon commented Feb 14, 2019

Hi @goalstogrowth

Thank you for your report. Could you try produce live example (using CodeSandbox or StackBlitz platform), where the issue occurs? I need to see how exactly are you updating your data.

Additionally, I have to point out that the series should be sorted by x values (timestamps), otherwise you will always get the effect above. Please tell me, have you noticed some errors (e.g Highcharts error 15) after opening a browser console?

Best regards!

@Denyllon Denyllon added the Pending reply Further information is requested label Feb 14, 2019
@wchmiel wchmiel removed the Pending reply Further information is requested label Sep 30, 2020
@wchmiel wchmiel closed this as completed Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants