Bewerken

Delen via


ChartArea.RecalculateAxesScale Method

Definition

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.

Applies to