SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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.
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 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!
Please login first to submit.