Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis.
More...
|
bool | show [get, set] |
| Whether to show the polor component. 是否显示极坐标。 More...
|
|
float[] | center [get, set] |
| [default:[0.5f,0.45f]]The center of ploar. The center[0] is the x-coordinate, and the center[1] is the y-coordinate. When value between 0 and 1 represents a percentage relative to the chart. 极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。 More...
|
|
float | radius [get, set] |
| [default:0.35f]the radius of polar. 极坐标的半径。 More...
|
|
Color | backgroundColor [get, set] |
| [default:Color.clear]Background color of polar, which is transparent by default. 极坐标的背景色,默认透明。 More...
|
|
int | index [get, set] |
|
Vector3 | runtimeCenterPos [get, set] |
| the center position of polar in container. 极坐标在容器中的具体中心点。 More...
|
|
float | runtimeRadius [get, set] |
| the true radius of polar. 极坐标的运行时实际半径。 More...
|
|
static Polar | defaultPolar [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 |
|
Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis.
极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。
Definition at line 21 of file Polar.cs.
◆ backgroundColor
Color XCharts.Polar.backgroundColor |
|
getset |
[default:Color.clear]Background color of polar, which is transparent by default. 极坐标的背景色,默认透明。
Definition at line 63 of file Polar.cs.
64 get {
return m_BackgroundColor; }
65 set {
if (PropertyUtil.SetColor(ref m_BackgroundColor, value)) SetVerticesDirty(); }
◆ center
float [] XCharts.Polar.center |
|
getset |
[default:[0.5f,0.45f]]The center of ploar. The center[0] is the x-coordinate, and the center[1] is the y-coordinate. When value between 0 and 1 represents a percentage relative to the chart. 极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
Definition at line 45 of file Polar.cs.
46 get {
return m_Center; }
47 set {
if (value !=
null) { m_Center = value; SetAllDirty(); } }
◆ radius
float XCharts.Polar.radius |
|
getset |
[default:0.35f]the radius of polar. 极坐标的半径。
Definition at line 54 of file Polar.cs.
55 get {
return m_Radius; }
56 set {
if (PropertyUtil.SetStruct(ref m_Radius, value)) SetAllDirty(); }
◆ runtimeCenterPos
Vector3 XCharts.Polar.runtimeCenterPos |
|
getset |
the center position of polar in container. 极坐标在容器中的具体中心点。
Definition at line 72 of file Polar.cs.
72 {
get;
internal set; }
◆ runtimeRadius
float XCharts.Polar.runtimeRadius |
|
getset |
the true radius of polar. 极坐标的运行时实际半径。
Definition at line 77 of file Polar.cs.
77 {
get;
internal set; }
◆ show
Whether to show the polor component. 是否显示极坐标。
Definition at line 34 of file Polar.cs.
35 get {
return m_Show; }
36 set {
if (PropertyUtil.SetStruct(ref m_Show, value)) SetVerticesDirty(); }
The documentation for this class was generated from the following file: