Edit

Share via


Axis.IntervalAutoMode Property

Definition

Gets or sets a flag that determines if a fixed number of intervals is used on the axis, or if the number of intervals depends on the axis size.

public:
 property System::Windows::Forms::DataVisualization::Charting::IntervalAutoMode IntervalAutoMode { System::Windows::Forms::DataVisualization::Charting::IntervalAutoMode get(); void set(System::Windows::Forms::DataVisualization::Charting::IntervalAutoMode value); };
public System.Windows.Forms.DataVisualization.Charting.IntervalAutoMode IntervalAutoMode { get; set; }
member this.IntervalAutoMode : System.Windows.Forms.DataVisualization.Charting.IntervalAutoMode with get, set
Public Property IntervalAutoMode As IntervalAutoMode

Property Value

An IntervalAutoMode enumeration value. The default value is FixedCount.

Remarks

When the Interval property is set to "Auto", the IntervalAutoMode property determines how many intervals should be calculated. If your chart is resized or redrawn often, you can set the IntervalAutoMode property to VariableCount, in which case the chart will dynamically calculate axis intervals. This is especially useful in situations where the chart intervals are displayed differently, depending on their data.

Applies to