SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Hello, first let me say this is a awesome product.
I’m trying to implement sweeping scroll on SciChart. I have read the following article
and was able to implement it, but i have one small issue.
First my x axis is TimeSpanAxis, i need ticks to move appropriately. In chart presented with uploaded image, time base of X axis is fixed with VisibleRange from 0-10. I need tick on new trace that comes from left side to add ticks in order like 11-12-13… and old axis to lose oldest ticks like 0-1-2… So when i add new tick on left side trace, oldest tick on right side trace will disapper
The only way to do this would be to use the LabelProvider API. You can use this API to provide an array of strings that you want to display on the bottom edge of the viewport.
The only tricky part is you need to tell the LabelProvider where the latest X,Y point is, and what the time value is, so it can re-write the labels to something like 11, 12, 13, 4, 5, 6, 7, 8, 9 …
Post here if you have questions about this API or run in to any issues
Please login first to submit.