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

Settings related to axis tick. 坐标轴刻度相关设置。 More...

Inheritance diagram for XCharts.AxisTick:
Collaboration diagram for XCharts.AxisTick:

Public Member Functions

AxisTick Clone ()
 
void Copy (AxisTick axisTick)
 
- Public Member Functions inherited from XCharts.BaseLine
 BaseLine (bool show)
 
void Copy (BaseLine axisLine)
 
LineStyle.Type GetType (LineStyle.Type themeType)
 
float GetWidth (float themeWidth)
 
float GetLength (float themeLength)
 
Color32 GetColor (Color32 themeColor)
 
- 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 ()
 

Properties

bool alignWithLabel [get, set]
 Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. 类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。 More...
 
bool inside [get, set]
 Set this to true so the axis labels face the inside direction. 坐标轴刻度是否朝内,默认朝外。 More...
 
bool showStartTick [get, set]
 Whether to display the first tick. 是否显示第一个刻度。 More...
 
bool showEndTick [get, set]
 Whether to display the last tick. 是否显示最后一个刻度。 More...
 
static AxisTick defaultTick [get]
 
- Properties inherited from XCharts.BaseLine
bool show [get, set]
 Set this to false to prevent the axis line from showing. 是否显示坐标轴轴线。 More...
 
LineStyle lineStyle [get, set]
 线条样式 More...
 
static BaseLine defaultBaseLine [get]
 
- 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.BaseLine
bool m_Show
 
LineStyle m_LineStyle = new LineStyle()
 
- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

Settings related to axis tick. 坐标轴刻度相关设置。

Definition at line 18 of file AxisTick.cs.

Property Documentation

◆ alignWithLabel

bool XCharts.AxisTick.alignWithLabel
getset

Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. 类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。

Definition at line 30 of file AxisTick.cs.

30  {
31  get { return m_AlignWithLabel; }
32  set { if (PropertyUtil.SetStruct(ref m_AlignWithLabel, value)) SetVerticesDirty(); }
33  }

◆ inside

bool XCharts.AxisTick.inside
getset

Set this to true so the axis labels face the inside direction. 坐标轴刻度是否朝内,默认朝外。

Definition at line 39 of file AxisTick.cs.

39  {
40  get { return m_Inside; }
41  set { if (PropertyUtil.SetStruct(ref m_Inside, value)) SetVerticesDirty(); }
42  }

◆ showEndTick

bool XCharts.AxisTick.showEndTick
getset

Whether to display the last tick. 是否显示最后一个刻度。

Definition at line 57 of file AxisTick.cs.

57  {
58  get { return m_ShowEndTick; }
59  set { if (PropertyUtil.SetStruct(ref m_ShowEndTick, value)) SetVerticesDirty(); }
60  }

◆ showStartTick

bool XCharts.AxisTick.showStartTick
getset

Whether to display the first tick. 是否显示第一个刻度。

Definition at line 48 of file AxisTick.cs.

48  {
49  get { return m_ShowStartTick; }
50  set { if (PropertyUtil.SetStruct(ref m_ShowStartTick, value)) SetVerticesDirty(); }
51  }

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