ChartArea.RecalculateAxesScale Method ()

.NET Framework (current version)
 

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)

member RecalculateAxesScale : unit -> unit

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
Available since 4.0
Return to top
Show: