Axis.Maximum Axis.Maximum Axis.Maximum Axis.Maximum Property

Definition

Gets or sets the maximum value of an axis.

public:
 property double Maximum { double get(); void set(double value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AxisMinMaxAutoValueConverter))]
public double Maximum { get; set; }
member this.Maximum : double with get, set
Public Property Maximum As Double

Property Value

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

Remarks

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

Applies to