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!

0
0

Hello,
The SciChartOverview is great, it provides exactly the functionality that I needed for panning and zooming. The only problem is that from what I have found until now it works only on the x axis.

Is there an easy way to have exactly the same zooming and panning functionality provided by the SciChartOverview on the Y Axes? I just need the zooming and panning, not the data preview.

I tried to do this by modifying the ControlTemplate of the NumericAxis control, but I quickly got into trouble, and this seems like a little bit too much work anyway.

Is there a simple way to do it with SciChart?
I added an image with a similar control that does this.

Images
  • You must to post comments
0
0

Hi there,

Currently there’s no way to achieve this with the Overview Control, this was specifically designed to cope with X-Axis scenarios, particularly for stock charts.

As a workaround, are you able to provide the following via a custom modifier? Scale on left click/drag of the axis, Pan on right click/drag?

If you need to get/set the VisibleRange of an axis, simply call AxisBase.VisibleRange. If you need to get/set the extents of the data on that axis, get AxisBase.DataRange.

  • Straliciuc
    Yes, it works with a custom modifier, but sliders are much more user-friendly.. Thanks anyway, maybe I will keep trying with the ControlTemplate
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.