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

Settings related to gauge axis line. 仪表盘轴线相关设置。 More...

Inheritance diagram for XCharts.GaugeAxis:
Collaboration diagram for XCharts.GaugeAxis:

Public Member Functions

void ClearLabelObject ()
 
void AddLabelObject (ChartLabel label)
 
ChartLabel GetLabelObject (int index)
 
void SetLabelObjectPosition (int index, Vector3 pos)
 
void SetLabelObjectText (int index, string text)
 
void SetLabelObjectActive (bool flag)
 
- 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 ()
 

Public Attributes

List< float > runtimeStageAngle = new List<float>()
 
List< Vector3 > runtimeLabelPosition = new List<Vector3>()
 

Properties

bool show [get, set]
 
GaugeAxisLine axisLine [get, set]
 axis line style. 仪表盘轴线样式。 More...
 
GaugeAxisSplitLine splitLine [get, set]
 slit line style. 分割线。 More...
 
GaugeAxisTick axisTick [get, set]
 axis tick style. 刻度。 More...
 
SerieLabel axisLabel [get, set]
 axis label style. 文本标签。 More...
 
List< string > axisLabelText [get, set]
 Coordinate axis scale label custom content. When the content is empty, axisLabel automatically displays the content according to the scale; otherwise, the content is taken from the list definition. 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

- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

Settings related to gauge axis line. 仪表盘轴线相关设置。

Definition at line 18 of file GaugeAxis.cs.

Property Documentation

◆ axisLabel

SerieLabel XCharts.GaugeAxis.axisLabel
getset

axis label style. 文本标签。

Definition at line 47 of file GaugeAxis.cs.

47 { get { return m_AxisLabel; } set { m_AxisLabel = value; } }

◆ axisLabelText

List<string> XCharts.GaugeAxis.axisLabelText
getset

Coordinate axis scale label custom content. When the content is empty, axisLabel automatically displays the content according to the scale; otherwise, the content is taken from the list definition.

自定义Label的内容。

Definition at line 55 of file GaugeAxis.cs.

55 { get { return m_AxisLabelText; } set { m_AxisLabelText = value; } }

◆ axisLine

GaugeAxisLine XCharts.GaugeAxis.axisLine
getset

axis line style. 仪表盘轴线样式。

Definition at line 32 of file GaugeAxis.cs.

32 { get { return m_AxisLine; } set { m_AxisLine = value; } }

◆ axisTick

GaugeAxisTick XCharts.GaugeAxis.axisTick
getset

axis tick style. 刻度。

Definition at line 42 of file GaugeAxis.cs.

42 { get { return m_AxisTick; } set { m_AxisTick = value; } }

◆ splitLine

GaugeAxisSplitLine XCharts.GaugeAxis.splitLine
getset

slit line style. 分割线。

Definition at line 37 of file GaugeAxis.cs.

37 { get { return m_SplitLine; } set { m_SplitLine = value; } }

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