Axis.IntervalType プロパティ

定義

軸の間隔の種類を取得または設定します。

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

プロパティ値

軸の間隔の種類を表す DateTimeIntervalType。 既定値は Auto です。

属性

注釈

このプロパティは、軸の間隔の種類を決定し、軸要素の独自 IntervalType のプロパティ値が に設定されている場合、軸のラベル、目盛り、または目盛線の間隔の種類に NotSet使用されます。

このプロパティを に NotSet 設定すると、 の Auto 値が使用されます。 グリッド線などの軸要素のみを に NotSet設定できます。

メモ 軸の補助グリッド線と目盛りでは、間隔の種類にこのプロパティは使用されません。

軸の間隔は、 プロパティによって Interval 決まります。

重要

軸の間隔の種類が時間、分などの時間で表される場合、正しく機能するようにズームするには、 IntervalType も時間値に設定する必要があります。 たとえば、ChartArea1.AxisX.IntervalType が hours に設定されている場合、ChartArea1.CursorX.IntervalType を分に設定できます。

適用対象