You mention that "when I add the data – the labels on the time axis starts slowly drifting to the left
". I suppose that you also remove data at the beginning of the collection. Is this right? If yes - this is the reason the labels drift, because the actual Minimum of the axis changes. If not, do you perhaps mean that the labels stay approximately the same position but bounce to the left and right with 1 pixel? If so, then this is the result of double rounding, because the axis range is now different and positions in relative values are different and the rounding of double calculations is inevitable.
I am attaching a small project that demonstrates one approach to get a steady (static) view when data is live (dynamic). I hope you understand that the chartview was not created with the idea to solve such problems and this is why this approach demands some manual work. In the project you will see live charts that you can pan and zoom. When you start panning, the chart stops from getting new data, thus the view is steady. The slider bounces back and forth a little, again due to double rounding. You will see that the pan-zoom logic is not inside the chart, but implemented manually, so that this static view can be achieved. Also not all the data is being passed to the chart, but it is being filtered when panning or zooming.
Let us know if you need more information.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.