Share via


Cursor.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

軸のカーソルと選択範囲の間隔の種類。

属性

注釈

プロパティ IntervalType は、 プロパティを使用して指定される間隔の種類を決定 Interval します。

間隔の種類が の場合、間隔の測定単位は として扱います。これは、値を指定した場合の 1 Auto doubleDateTime に相当します。

注意

範囲の選択またはカーソル位置がプログラムによって設定されている場合、間隔に関連するプロパティは効果がありません。

軸の間隔の種類が時間 (時間、分など) を表す場合、ズーム関数を正しく有効にするには、 も時刻値に設定する必要があります IntervalType 。 たとえば、ChartArea1.AxisX.IntervalType が時間で表される場合、ChartArea1.CursorX.IntervalType を分に設定できます。

適用対象