ChartArea.RecalculateAxesScale Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Recalculates the properties of the chart area after changes have been made to the chart in the Customize event.
public:
void RecalculateAxesScale();
public void RecalculateAxesScale ();
member this.RecalculateAxesScale : unit -> unit
Public Sub RecalculateAxesScale ()
Remarks
If you use the Customize event to make changes, it is sometimes necessary to recalculate chart area properties so that the chart is rendered correctly. For example, if an axis range is changed, the labels for that axis must be recalculated.
Call this method after you use the Customize event to make ANY changes to a chart area.