Forcing automatic axis recalculation?
Posted: Tue Aug 19, 2008 11:00 am
Hi,
I am using an automatic left axis on a chart (IAxis.Automatic property is true), and adjusting the bottom axis with the IAxis.Minimum /Maximum properties.
When I first load the data, the left axis range is very good.
If I later shrink the range on the bottom axis and the range of visible y-values becomes smaller and I would like the left axis to rescale itself automatically to match the visible data.
Is there a way to force this recalculation, or is the left axis range determined by the data loaded, including that out of sight?
I still want to leave the full range of data in the chart, so the user can drag the chart back to a different range of x-values.
Many thanks
Roger
I am using an automatic left axis on a chart (IAxis.Automatic property is true), and adjusting the bottom axis with the IAxis.Minimum /Maximum properties.
When I first load the data, the left axis range is very good.
If I later shrink the range on the bottom axis and the range of visible y-values becomes smaller and I would like the left axis to rescale itself automatically to match the visible data.
Is there a way to force this recalculation, or is the left axis range determined by the data loaded, including that out of sight?
I still want to leave the full range of data in the chart, so the user can drag the chart back to a different range of x-values.
Many thanks
Roger