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

Grid component. Drawing grid in rectangular coordinate. In a single grid, at most two X and Y axes each is allowed. Line chart, bar chart, and scatter chart can be drawn in grid. There is only one single grid component at most in a single echarts instance. More...

Inheritance diagram for XCharts.Grid:
Collaboration diagram for XCharts.Grid:

Properties

bool show [get, set]
 Whether to show the grid in rectangular coordinate. 是否显示直角坐标系网格。 More...
 
float left [get, set]
 Distance between grid component and the left side of the container. grid 组件离容器左侧的距离。 More...
 
float right [get, set]
 Distance between grid component and the right side of the container. grid 组件离容器右侧的距离。 More...
 
float top [get, set]
 Distance between grid component and the top side of the container. grid 组件离容器上侧的距离。 More...
 
float bottom [get, set]
 Distance between grid component and the bottom side of the container. grid 组件离容器下侧的距离。 More...
 
Color backgroundColor [get, set]
 Background color of grid, which is transparent by default. 网格背景色,默认透明。 More...
 
int index [get, set]
 
float runtimeX [get]
 
float runtimeY [get]
 
float runtimeWidth [get]
 
float runtimeHeight [get]
 
Vector3 runtimePosition [get]
 
static Grid defaultGrid [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

- 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

Grid component. Drawing grid in rectangular coordinate. In a single grid, at most two X and Y axes each is allowed. Line chart, bar chart, and scatter chart can be drawn in grid. There is only one single grid component at most in a single echarts instance.

网格组件。 直角坐标系内绘图网格,单个 grid 内最多可以放置上下两个 X 轴,左右两个 Y 轴。可以在网格上绘制折线图,柱状图,散点图。 单个xcharts实例中只能存在一个grid组件。

Definition at line 25 of file XGrid.cs.

Property Documentation

◆ backgroundColor

Color XCharts.Grid.backgroundColor
getset

Background color of grid, which is transparent by default. 网格背景色,默认透明。

Definition at line 84 of file XGrid.cs.

84  {
85  get { return m_BackgroundColor; }
86  set { if (PropertyUtil.SetColor(ref m_BackgroundColor, value)) SetVerticesDirty(); }
87  }

◆ bottom

float XCharts.Grid.bottom
getset

Distance between grid component and the bottom side of the container. grid 组件离容器下侧的距离。

Definition at line 75 of file XGrid.cs.

75  {
76  get { return m_Bottom; }
77  set { if (PropertyUtil.SetStruct(ref m_Bottom, value)) SetAllDirty(); }
78  }

◆ left

float XCharts.Grid.left
getset

Distance between grid component and the left side of the container. grid 组件离容器左侧的距离。

Definition at line 48 of file XGrid.cs.

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

◆ right

float XCharts.Grid.right
getset

Distance between grid component and the right side of the container. grid 组件离容器右侧的距离。

Definition at line 57 of file XGrid.cs.

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

◆ show

bool XCharts.Grid.show
getset

Whether to show the grid in rectangular coordinate. 是否显示直角坐标系网格。

Definition at line 39 of file XGrid.cs.

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

◆ top

float XCharts.Grid.top
getset

Distance between grid component and the top side of the container. grid 组件离容器上侧的距离。

Definition at line 66 of file XGrid.cs.

66  {
67  get { return m_Top; }
68  set { if (PropertyUtil.SetStruct(ref m_Top, value)) SetAllDirty(); }
69  }

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