Axis.IntervalType Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the interval type of an axis.
public:
property System::Windows::Forms::DataVisualization::Charting::DateTimeIntervalType IntervalType { System::Windows::Forms::DataVisualization::Charting::DateTimeIntervalType get(); void set(System::Windows::Forms::DataVisualization::Charting::DateTimeIntervalType value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType IntervalType { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IntervalType : System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType with get, set
Public Property IntervalType As DateTimeIntervalType
A DateTimeIntervalType that represents the interval type of an axis. The default value is Auto.
- Attributes
This property determines the interval type of an axis, and is used for the interval type of an axis' labels, major tick marks, or major grid lines if the axis element's own IntervalType
property value is set to NotSet.
Setting this property to NotSet will result in a value of Auto being used. Only the axis elements, such as grid lines, can be set to NotSet.
Note The minor grid lines and tick marks of an axis never use this property for their interval type.
The interval of the axis is determined by the Interval property.
Importante
If the axis interval type is represented by a time such as hours, minutes, and so forth, then in order for zooming to function correctly, the IntervalType must be set to a time value as well. For example, if ChartArea1.AxisX.IntervalType is set to hours, then ChartArea1.CursorX.IntervalType could be set to minutes.
Produto | Versões |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: