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

Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis. More...

Inheritance diagram for XCharts.Polar:
Collaboration diagram for XCharts.Polar:

Properties

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]
 
- 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

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.

Property Documentation

◆ 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.

63  {
64  get { return m_BackgroundColor; }
65  set { if (PropertyUtil.SetColor(ref m_BackgroundColor, value)) SetVerticesDirty(); }
66  }

◆ 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.

45  {
46  get { return m_Center; }
47  set { if (value != null) { m_Center = value; SetAllDirty(); } }
48  }

◆ radius

float XCharts.Polar.radius
getset

[default:0.35f]the radius of polar. 极坐标的半径。

Definition at line 54 of file Polar.cs.

54  {
55  get { return m_Radius; }
56  set { if (PropertyUtil.SetStruct(ref m_Radius, value)) SetAllDirty(); }
57  }

◆ 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

bool XCharts.Polar.show
getset

Whether to show the polor component. 是否显示极坐标。

Definition at line 34 of file Polar.cs.

34  {
35  get { return m_Show; }
36  set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetVerticesDirty(); }
37  }

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