Hi all,
I have a problem with a zoom on a chart. It works but I have a problem with the scrollbar on the X-Axis which has a very small range (+/- 1.2) compared to the Y-Axis (+/- 16000) on which I have no problem.
The problem is that the scroll bar has only 3 possibles positions: left, middle, right I can not move it as I want...
code of the zoom
Also, how is it possible to completely reset the zoom with only one button?
I have a problem with a zoom on a chart. It works but I have a problem with the scrollbar on the X-Axis which has a very small range (+/- 1.2) compared to the Y-Axis (+/- 16000) on which I have no problem.
The problem is that the scroll bar has only 3 possibles positions: left, middle, right I can not move it as I want...
code of the zoom
VB.NET:
YMDChart.ChartAreas("YMDChartArea").CursorX.IsUserEnabled = True
YMDChart.ChartAreas("YMDChartArea").CursorX.Interval = 0.01
YMDChart.ChartAreas("YMDChartArea").CursorX.IsUserSelectionEnabled = True
YMDChart.ChartAreas("YMDChartArea").CursorY.IsUserEnabled = True
YMDChart.ChartAreas("YMDChartArea").CursorY.IsUserSelectionEnabled = True
YMDChart.ChartAreas("YMDChartArea").AxisY.ScrollBar.ButtonStyle = ScrollBarButtonStyles.None
YMDChart.ChartAreas("YMDChartArea").AxisX.ScrollBar.ButtonStyle = ScrollBarButtonStyles.None
Also, how is it possible to completely reset the zoom with only one button?