Pre loader

Sweeping chart Ticks


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

Best regards

  • You must to post comments

Hi Nikola,

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.

SciChart Axis APIs: LabelProvider API

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

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies