Export (0) Print
Expand All

Axis.IntervalAutoMode Property

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.

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

public IntervalAutoMode IntervalAutoMode { get; set; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.IntervalAutoMode
An IntervalAutoMode enumeration value. The default value is FixedCount.

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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft