Pre loader

Sweeping chart Ticks

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

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
http://support.scichart.com/index.php?/Knowledgebase/Article/View/17233/37/how-to-create-a-sweeping-ecg-chart
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

Version
4.2.2.9486
Images
  • You must to post comments
0
0

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,
Andrew

  • 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