Chart.Scatter
Chart.Scatter copied to clipboard
Modify only newly drawn points on update.
Thanks for this library, I have found it helpful on a few occasions.
I have a question about a feature that I hope is present and I have just failed to find it. The application I am building sends data over a websocket connection. It has a value and a timestamp. The desired endpoint is to have a live chart of the data coming in. Chart.Scatter does exactly what I need except on the animation front. When I add a new point and call update the whole graph transitions up from the bottom.
Is there a way to leave all existing points the same and only have transitions effect new points? so the graph will nicely squash up as more points will be coming in.
Slightly less favourable option but probably good enough, is there a way to turn transitions off so the graph just steps steps to the next view when myChart.update() is called?
My apologies, I missed the line where it said 'these options are merged with the global chart configuration options'. So i have now found the option animate: false.
The first part of the question I am still curious about.