SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.