Axis.RoundAxisValues Method ()

.NET Framework (current version)
 

Automatically rounds axis values.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public void RoundAxisValues()

Call the RoundAxisValues method to round the values of an axis. Note that the interval used for the axis will not be changed when this method is called. This method is only supported for the X and X2 axes. The Y and Y2 axes values are rounded by default.

.NET Framework
Available since 4.0
Return to top
Show: