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...
|
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] |
|
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] |
|
|
virtual void | SetVerticesDirty () |
|
virtual void | ClearVerticesDirty () |
|
virtual void | SetComponentDirty () |
|
virtual void | ClearComponentDirty () |
|
virtual void | ClearDirty () |
|
virtual void | SetAllDirty () |
|
bool | m_VertsDirty |
|
bool | m_ComponentDirty |
|
Painter | m_Painter |
|
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.
◆ backgroundColor
Color XCharts.Grid.backgroundColor |
|
getset |
Background color of grid, which is transparent by default. 网格背景色,默认透明。
Definition at line 84 of file XGrid.cs.
85 get {
return m_BackgroundColor; }
86 set {
if (PropertyUtil.SetColor(ref m_BackgroundColor, value)) SetVerticesDirty(); }
◆ 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.
76 get {
return m_Bottom; }
77 set {
if (PropertyUtil.SetStruct(ref m_Bottom, value)) SetAllDirty(); }
◆ left
Distance between grid component and the left side of the container. grid 组件离容器左侧的距离。
Definition at line 48 of file XGrid.cs.
49 get {
return m_Left; }
50 set {
if (PropertyUtil.SetStruct(ref m_Left, value)) SetAllDirty(); }
◆ right
Distance between grid component and the right side of the container. grid 组件离容器右侧的距离。
Definition at line 57 of file XGrid.cs.
58 get {
return m_Right; }
59 set {
if (PropertyUtil.SetStruct(ref m_Right, value)) SetAllDirty(); }
◆ show
Whether to show the grid in rectangular coordinate. 是否显示直角坐标系网格。
Definition at line 39 of file XGrid.cs.
40 get {
return m_Show; }
41 set {
if (PropertyUtil.SetStruct(ref m_Show, value)) SetVerticesDirty(); }
◆ top
Distance between grid component and the top side of the container. grid 组件离容器上侧的距离。
Definition at line 66 of file XGrid.cs.
68 set {
if (PropertyUtil.SetStruct(ref m_Top, value)) SetAllDirty(); }
The documentation for this class was generated from the following file: