AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.MarkLineData Class Reference

Data of marking line. 图表标线的数据。 More...

Inheritance diagram for XCharts.MarkLineData:
Collaboration diagram for XCharts.MarkLineData:

Properties

int index [get, set]
 
Vector3 runtimeStartPosition [get, set]
 
Vector3 runtimeEndPosition [get, set]
 
Vector3 runtimeCurrentEndPosition [get, set]
 
ChartLabel runtimeLabel [get, set]
 
double runtimeValue [get, set]
 
string name [get, set]
 Name of the marker, which will display as a label. 标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。 More...
 
MarkLineType type [get, set]
 Special label types, are used to label maximum value, minimum value and so on. 特殊的标线类型,用于标注最大值最小值等。 More...
 
int dimension [get, set]
 From which dimension of data to calculate the maximum and minimum value and so on. 从哪个维度的数据计算最大最小值等。 More...
 
float xPosition [get, set]
 The x coordinate relative to the origin, in pixels. 相对原点的 x 坐标,单位像素。当type为None时有效。 More...
 
float yPosition [get, set]
 The y coordinate relative to the origin, in pixels. 相对原点的 y 坐标,单位像素。当type为None时有效。 More...
 
double xValue [get, set]
 The value specified on the X-axis. A value specified when the X-axis is the category axis represents the index of the category axis data, otherwise a specific value. X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。 More...
 
double yValue [get, set]
 That's the value on the Y-axis. The value specified when the Y axis is the category axis represents the index of the category axis data, otherwise the specific value. Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。 More...
 
int group [get, set]
 Grouping. When the group is not 0, it means that this data is the starting point or end point of the marking line. Data consistent with the group form a marking line. 分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。 More...
 
bool zeroPosition [get, set]
 Is the origin of the coordinate system. 是否为坐标系原点。 More...
 
SerieSymbol startSymbol [get, set]
 The symbol of the start point of markline. 起始点的图形标记。 More...
 
SerieSymbol endSymbol [get, set]
 The symbol of the end point of markline. 结束点的图形标记。 More...
 
LineStyle lineStyle [get, set]
 The line style of markline. 标线样式。 More...
 
SerieLabel label [get, set]
 Text styles of label. You can set position to Start, Middle, and End to display text in different locations. 文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 More...
 
- Properties inherited from XCharts.ChartComponent
virtual bool vertsDirty [get]
 图表重绘标记。 More...
 
virtual bool componentDirty [get]
 组件重新初始化标记。 More...
 
bool anyDirty [get]
 需要重绘图表或重新初始化组件。 More...
 
Painter painter [get, set]
 
Action refreshComponent [get, set]
 
GameObject gameObject [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from XCharts.ChartComponent
virtual void SetVerticesDirty ()
 
virtual void ClearVerticesDirty ()
 
virtual void SetComponentDirty ()
 
virtual void ClearComponentDirty ()
 
virtual void ClearDirty ()
 
virtual void SetAllDirty ()
 
- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

Data of marking line. 图表标线的数据。

Definition at line 43 of file MarkLine.cs.

Property Documentation

◆ dimension

int XCharts.MarkLineData.dimension
getset

From which dimension of data to calculate the maximum and minimum value and so on. 从哪个维度的数据计算最大最小值等。

Definition at line 91 of file MarkLine.cs.

91  {
92  get { return m_Dimension; }
93  set { if (PropertyUtil.SetStruct(ref m_Dimension, value)) SetVerticesDirty(); }
94  }

◆ endSymbol

SerieSymbol XCharts.MarkLineData.endSymbol
getset

The symbol of the end point of markline. 结束点的图形标记。

Definition at line 163 of file MarkLine.cs.

163  {
164  get { return m_EndSymbol; }
165  set { if (PropertyUtil.SetClass(ref m_EndSymbol, value)) SetVerticesDirty(); }
166  }

◆ group

int XCharts.MarkLineData.group
getset

Grouping. When the group is not 0, it means that this data is the starting point or end point of the marking line. Data consistent with the group form a marking line. 分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。

Definition at line 136 of file MarkLine.cs.

136  {
137  get { return m_Group; }
138  set { if (PropertyUtil.SetStruct(ref m_Group, value)) SetVerticesDirty(); }
139  }

◆ label

SerieLabel XCharts.MarkLineData.label
getset

Text styles of label. You can set position to Start, Middle, and End to display text in different locations. 文本样式。可设置position为Start、Middle和End在不同的位置显示文本。

Definition at line 181 of file MarkLine.cs.

181  {
182  get { return m_Label; }
183  set { if (PropertyUtil.SetClass(ref m_Label, value)) SetVerticesDirty(); }
184  }

◆ lineStyle

LineStyle XCharts.MarkLineData.lineStyle
getset

The line style of markline. 标线样式。

Definition at line 172 of file MarkLine.cs.

172  {
173  get { return m_LineStyle; }
174  set { if (PropertyUtil.SetClass(ref m_LineStyle, value)) SetVerticesDirty(); }
175  }

◆ name

string XCharts.MarkLineData.name
getset

Name of the marker, which will display as a label. 标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。

Definition at line 73 of file MarkLine.cs.

73  {
74  get { return m_Name; }
75  set { if (PropertyUtil.SetClass(ref m_Name, value)) SetVerticesDirty(); }
76  }

◆ startSymbol

SerieSymbol XCharts.MarkLineData.startSymbol
getset

The symbol of the start point of markline. 起始点的图形标记。

Definition at line 154 of file MarkLine.cs.

154  {
155  get { return m_StartSymbol; }
156  set { if (PropertyUtil.SetClass(ref m_StartSymbol, value)) SetVerticesDirty(); }
157  }

◆ type

MarkLineType XCharts.MarkLineData.type
getset

Special label types, are used to label maximum value, minimum value and so on. 特殊的标线类型,用于标注最大值最小值等。

Definition at line 82 of file MarkLine.cs.

82  {
83  get { return m_Type; }
84  set { if (PropertyUtil.SetStruct(ref m_Type, value)) SetVerticesDirty(); }
85  }

◆ xPosition

float XCharts.MarkLineData.xPosition
getset

The x coordinate relative to the origin, in pixels. 相对原点的 x 坐标,单位像素。当type为None时有效。

Definition at line 100 of file MarkLine.cs.

100  {
101  get { return m_XPosition; }
102  set { if (PropertyUtil.SetStruct(ref m_XPosition, value)) SetVerticesDirty(); }
103  }

◆ xValue

double XCharts.MarkLineData.xValue
getset

The value specified on the X-axis. A value specified when the X-axis is the category axis represents the index of the category axis data, otherwise a specific value. X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

Definition at line 118 of file MarkLine.cs.

118  {
119  get { return m_XValue; }
120  set { if (PropertyUtil.SetStruct(ref m_XValue, value)) SetVerticesDirty(); }
121  }

◆ yPosition

float XCharts.MarkLineData.yPosition
getset

The y coordinate relative to the origin, in pixels. 相对原点的 y 坐标,单位像素。当type为None时有效。

Definition at line 109 of file MarkLine.cs.

109  {
110  get { return m_YPosition; }
111  set { if (PropertyUtil.SetStruct(ref m_YPosition, value)) SetVerticesDirty(); }
112  }

◆ yValue

double XCharts.MarkLineData.yValue
getset

That's the value on the Y-axis. The value specified when the Y axis is the category axis represents the index of the category axis data, otherwise the specific value. Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

Definition at line 127 of file MarkLine.cs.

127  {
128  get { return m_YValue; }
129  set { if (PropertyUtil.SetStruct(ref m_YValue, value)) SetVerticesDirty(); }
130  }

◆ zeroPosition

bool XCharts.MarkLineData.zeroPosition
getset

Is the origin of the coordinate system. 是否为坐标系原点。

Definition at line 145 of file MarkLine.cs.

145  {
146  get { return m_ZeroPosition; }
147  set { if (PropertyUtil.SetStruct(ref m_ZeroPosition, value)) SetVerticesDirty(); }
148  }

The documentation for this class was generated from the following file: