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.

0
0

I have a SciChartSurface with several FastLineRenderableSeries. I may have several days worth of per second data in each series. I have set my XVisibleRange to 10 minutes and I update it every second to make sure the view stays current. I want to also allow the user to either pan or zoom that view but only on the x axis. I see the demo of the SciStockChart using the IsPanEnabled that allows the functionality I want but that does not appear to be available on the SciChartSurface. Is there another way to accomplish this or do I need a different type of chart?

  • You must to post comments
0
0

Hey there,

You can indeed achieve this in SciChartSurface, as the SciStockChart is simply a subclass of the SciChartSurface which simplifies development for financial applications.

Please see our Silverlight demos which showcase these features. Some relevant examples include:

Many of the modifiers (ZoomPanModifier, RubberBandXyZoomModifier) have properties to change how they behave. You can see the options in the examples above.

Finally to get YAxis to zoom to fit always while panning you will need to set YAxis.AutoRange = true and YAxis.GrowBy = new DoubleRange(0.1, 0.1)

Hope this helps!

Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.