Page 1 of 1

Chart.Zoom.ZoomRect() - What is the maximum height?

Posted: Mon Feb 18, 2008 11:27 am
by 14046869
I am trying to customise the zoom so that the full height of the chart is always shown. I have a chart_Zoomed handler and I would like to modify the mouse selected zoom by setting the zoom rectangle y value to 0 and the height to the height of the chart. How can I obtain the correct height value for this?

Posted: Mon Feb 18, 2008 2:17 pm
by narcis
Hello Martin,

I may not understand what you are exactly trying to achieve but you may be interested in knowin about zoom Direction property:

Code: Select all

			tChart1.Zoom.Direction = ZoomDirections.Horizontal;
If this doesn't help don't hesitate to let us know.

That does the trick!

Posted: Mon Feb 18, 2008 4:35 pm
by 14046869
Thank you, that does exactly what i want.