I am new to ZedGraph, however I managed to create simple chart and enabled scrolling along the x axis. My problem is that I cant figure how to force the Y axis to autoadjust to show the whole section of the curve. Graphically depicted I want instead of this
_______________________
| |
| \ _______|
| \ / |
|___\________/________|
\______/
to adjust the Y axis (or to pan the chart) to look like this
_______________________
| \ _______|
| \ / |
| \ / |
|____\______/_________|
where the inside of the rectangle is what is visible.
I thought that
myPane.YAxis.Scale.MinAuto = true;
myPane.YAxis.Scale.MaxAuto = true;
myPane.IsBoundedRanges = true;
should force the axis to behave like I described, but appratenly not.