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 ();

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

Produkt Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1