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

新范围选择的结束位置。

适用于