- The minimum offset and maximum offset offset properties for a custom axis are still not working with the latest release (24/12/2003). I've read in this forum it should ?
- The zoom does not work on custom axes. Somebody from TeeChart said we have to use firstVisible and lastVisible properties on series to make it work. These properties are still not visible from my code (they seem to be declared "protected"). So ?
Custom axes bugs are still in
Found a way to make correct zooms with custom axes :
In the zoomed event, just call for each custom axis :
myVerticalCustomAxis.SetMinMax(
myVerticalCustomAxis.CalcPosPoint (Chart1.Zoom.y1), myVerticalCustomAxis.CalcPosPoint(Chart1.Zoom.y0));
So only one question left :
How do I do to make minimum offset and maximum offset behave correctly ??
Thanks for answering
In the zoomed event, just call for each custom axis :
myVerticalCustomAxis.SetMinMax(
myVerticalCustomAxis.CalcPosPoint (Chart1.Zoom.y1), myVerticalCustomAxis.CalcPosPoint(Chart1.Zoom.y0));
So only one question left :
How do I do to make minimum offset and maximum offset behave correctly ??
Thanks for answering
>So only one question left :
>How do I do to make minimum offset and maximum offset behave >correctly ??
A workaround for the moment is to use something like the following code :
>How do I do to make minimum offset and maximum offset behave >correctly ??
A workaround for the moment is to use something like the following code :
Code: Select all
double offset = line1.YValues.Maximum * 0.1;
tChart1.Axes.Custom[0].SetMinMax(line1.XValues.Minimum - offset, line1.XValues.Maximum + offset);
Pep Jorge
http://support.steema.com
http://support.steema.com