Modifier

Partager 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::Web::UI::DataVisualization::Charting::IntervalAutoMode IntervalAutoMode { System::Web::UI::DataVisualization::Charting::IntervalAutoMode get(); void set(System::Web::UI::DataVisualization::Charting::IntervalAutoMode value); };
public System.Web.UI.DataVisualization.Charting.IntervalAutoMode IntervalAutoMode { get; set; }
member this.IntervalAutoMode : System.Web.UI.DataVisualization.Charting.IntervalAutoMode with get, set
Public Property IntervalAutoMode As IntervalAutoMode

Property Value

An IntervalAutoMode enumeration value that determines how the number of intervals is used on the axis. 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