AnyChart icon indicating copy to clipboard operation
AnyChart copied to clipboard

Panning VerticalLine Chart Upward

Open martineboh opened this issue 4 years ago • 1 comments

Hi, thanks for this wonderful product.

I am plotting a Vertical line chart of time against temperature. Data comes in every 5 seconds in realtime via socketio and I will like to pan the chart upload since the plot becomes over crowded after 30 minutes. I tried using the move(), but doesn't work for Vertical line. I have search through the docs with no results.

Also, I want the verticalLine chart to be continuous in one end only, not both, since new data gets appended to the view area.

Thanks for any suggestions

martineboh avatar Aug 13 '21 07:08 martineboh

@martineboh To achieve that you can use setToPointsCount() method. Pay attention to arguments, the 2nd one allows zooming to the end of the scale where new points get appended.

Shestac92 avatar Aug 15 '21 12:08 Shestac92