Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ChartArea.RecalculateAxesScale Method

.NET Framework 4.6 and 4.5

Recalculates the properties of the chart area after changes have been made to the chart in the Customize event.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void RecalculateAxesScale()

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.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft