Axis.Maximum Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the maximum value of an axis.

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

public double Maximum { get; set; }

Property Value

Type: System.Double

A double value that represents the maximum value of an axis. The default value is NaN.

To automatically round the maximum and minimum axis values call the RoundAxisValues method. The Maximum value must be greater than the Minimum value.

.NET Framework
Available since 4.0
Return to top