Zoom on cutom axis
Posted: Sat Jan 15, 2005 5:00 pm
For me it seems, that the zoom functionalty does not work on custom axis. Is ther any bug report for this?
Thanks, Markus.
Thanks, Markus.
Steema Software - Customer Support Forums
http://216.92.101.67/support/
Code: Select all
private void tChart1_UndoneZoom(object sender, System.EventArgs e)
{
line1.GetVertAxis.Automatic = true;
}
private void tChart1_Zoomed(object sender, System.EventArgs e)
{
Steema.TeeChart.Axis axis = line1.GetVertAxis;
double amin = axis.CalcPosPoint(line1.Chart.Zoom.y0);
double amax = axis.CalcPosPoint(line1.Zoom.y1);
axis.Automatic = false;
axis.SetMinMax(amin,amax);
}