CursorEventArgs 建構函式

定義

初始化 CursorEventArgs 類別的新執行個體。

多載

CursorEventArgs(ChartArea, Axis, Double)

使用指定的圖表區域、座標軸和資料指標位置,初始化 CursorEventArgs 類別的新執行個體。

CursorEventArgs(ChartArea, Axis, Double, Double)

使用指定的圖表區域、座標軸及新範圍的起始和結束位置,初始化 CursorEventArgs 類別的新執行個體。

CursorEventArgs(ChartArea, Axis, Double)

使用指定的圖表區域、座標軸和資料指標位置,初始化 CursorEventArgs 類別的新執行個體。

public:
 CursorEventArgs(System::Windows::Forms::DataVisualization::Charting::ChartArea ^ chartArea, System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, double newPosition);
public CursorEventArgs (System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea, System.Windows.Forms.DataVisualization.Charting.Axis axis, double newPosition);
new System.Windows.Forms.DataVisualization.Charting.CursorEventArgs : System.Windows.Forms.DataVisualization.Charting.ChartArea * System.Windows.Forms.DataVisualization.Charting.Axis * double -> System.Windows.Forms.DataVisualization.Charting.CursorEventArgs
Public Sub New (chartArea As ChartArea, axis As Axis, newPosition As Double)

參數

chartArea
ChartArea

資料指標的 ChartArea

axis
Axis

資料指標的座標軸。

newPosition
Double

新的資料指標位置。

適用於

CursorEventArgs(ChartArea, Axis, Double, Double)

使用指定的圖表區域、座標軸及新範圍的起始和結束位置,初始化 CursorEventArgs 類別的新執行個體。

public:
 CursorEventArgs(System::Windows::Forms::DataVisualization::Charting::ChartArea ^ chartArea, System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, double newSelectionStart, double newSelectionEnd);
public CursorEventArgs (System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea, System.Windows.Forms.DataVisualization.Charting.Axis axis, double newSelectionStart, double newSelectionEnd);
new System.Windows.Forms.DataVisualization.Charting.CursorEventArgs : System.Windows.Forms.DataVisualization.Charting.ChartArea * System.Windows.Forms.DataVisualization.Charting.Axis * double * double -> System.Windows.Forms.DataVisualization.Charting.CursorEventArgs
Public Sub New (chartArea As ChartArea, axis As Axis, newSelectionStart As Double, newSelectionEnd As Double)

參數

chartArea
ChartArea

資料指標的 ChartArea

axis
Axis

資料指標的座標軸。

newSelectionStart
Double

新的範圍選取的起始位置。

newSelectionEnd
Double

新範圍選取的結束位置。

適用於