I am using a ShinobiChart to plot live time series data, using the approach outlined in the official example, i.e. calling appendNumberOfDataPoints when the new data arrives, followed by a call to chart.redraw().
This works fine, and by default it also tracks the live data, because the axis range is presumably adapted to the data range.
However, my chart can also display quite a large amount of data that is in the past, which the user can reach by panning the chart. Unfortunately the chart jumps back to the recent data when new live data arrives.
So I guess I need some kind of “ignore live update when user is panning the chart and looking at past data” but I haven’t found out yet how to do it. There is a callback in the SChartDelegate for axis range alterations, but it’s invoked not only for user-initiated changes but also when data loads, or is updated.
Is there a way to achieve what I want easily with Shinobi?
Thanks in advance.