Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。
More...
|
class | Indicator |
| Indicator of radar chart, which is used to assign multiple variables(dimensions) in radar chart. 雷达图的指示器,用来指定雷达图中的多个变量(维度)。 More...
|
|
|
bool | IsInIndicatorRange (int index, double value) |
|
double | GetIndicatorMin (int index) |
|
double | GetIndicatorMax (int index) |
|
Vector3 | GetIndicatorPosition (int index) |
|
void | AddIndicator (Radar.Indicator indicator) |
|
Radar.Indicator | AddIndicator (string name, float min, float max) |
|
bool | UpdateIndicator (int indicatorIndex, string name, float min, float max) |
|
Radar.Indicator | GetIndicator (int indicatorIndex) |
|
virtual void | SetVerticesDirty () |
|
virtual void | ClearVerticesDirty () |
|
virtual void | SetComponentDirty () |
|
virtual void | ClearComponentDirty () |
|
virtual void | ClearDirty () |
|
virtual void | SetAllDirty () |
|
|
Dictionary< int, List< Vector3 > > | runtimeDataPosList = new Dictionary<int, List<Vector3>>() |
| the data position list of radar. 雷达图的所有数据坐标点列表。 More...
|
|
|
bool | show [get, set] |
| [default:true] Set this to false to prevent the radar from showing. 是否显示雷达坐标系组件。 More...
|
|
Shape | shape [get, set] |
| Radar render type, in which 'Polygon' and 'Circle' are supported. 雷达图绘制类型,支持 'Polygon' 和 'Circle'。 More...
|
|
float | radius [get, set] |
| the radius of radar. 雷达图的半径。 More...
|
|
int | splitNumber [get, set] |
| Segments of indicator axis. 指示器轴的分割段数。 More...
|
|
float[] | center [get, set] |
| the center of radar chart. 雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。 More...
|
|
AxisLine | axisLine [get, set] |
| axis line. 轴线。 More...
|
|
AxisSplitLine | splitLine [get, set] |
| split line. 分割线。 More...
|
|
AxisSplitArea | splitArea [get, set] |
| Split area of axis in grid area. 分割区域。 More...
|
|
bool | indicator [get, set] |
| Whether to show indicator. 是否显示指示器。 More...
|
|
float | indicatorGap [get, set] |
| The gap of indicator and radar. 指示器和雷达的间距。 More...
|
|
int? | ceilRate [get, set] |
| The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated. 最大最小值向上取整的倍率。默认为0时自动计算。 More...
|
|
bool | isAxisTooltip [get, set] |
| 是否Tooltip显示轴线上的所有数据。 More...
|
|
PositionType | positionType [get, set] |
| The position type of indicator. 显示位置类型。 More...
|
|
Color32 | outRangeColor [get, set] |
| The color displayed when data out of range. 数值超出范围时显示的颜色。 More...
|
|
bool | connectCenter [get, set] |
| Whether serie data connect to radar center with line. 数值是否连线到中心点。 More...
|
|
bool | lineGradient [get, set] |
| Whether need gradient for data line. 数值线段是否需要渐变。 More...
|
|
List< Indicator > | indicatorList [get] |
| the indicator list. 指示器列表。 More...
|
|
int | index [get, set] |
|
Vector3 | runtimeCenterPos [get, set] |
| the center position of radar in container. 雷达图在容器中的具体中心点。 More...
|
|
float | runtimeRadius [get, set] |
| the true radius of radar. 雷达图的运行时实际半径。 More...
|
|
float | runtimeDataRadius [get, set] |
|
static Radar | defaultRadar [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] |
|
|
bool | m_VertsDirty |
|
bool | m_ComponentDirty |
|
Painter | m_Painter |
|
Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。
Definition at line 21 of file Radar.cs.
◆ PositionType
The position type of radar. 显示位置。
Enumerator |
---|
Vertice | Display at the vertex. 显示在顶点处。
|
Between | Display at the middle of line. 显示在两者之间。
|
Definition at line 36 of file Radar.cs.
◆ Shape
Radar render type, in which 'Polygon' and 'Circle' are supported. 雷达图绘制类型,支持 'Polygon' 和 'Circle'。
Definition at line 27 of file Radar.cs.
◆ runtimeDataPosList
Dictionary<int, List<Vector3> > XCharts.Radar.runtimeDataPosList = new Dictionary<int, List<Vector3>>() |
the data position list of radar. 雷达图的所有数据坐标点列表。
Definition at line 287 of file Radar.cs.
◆ axisLine
axis line. 轴线。
Definition at line 172 of file Radar.cs.
173 get {
return m_AxisLine; }
174 set {
if (PropertyUtil.SetClass(ref m_AxisLine, value,
true)) SetAllDirty(); }
◆ ceilRate
int? XCharts.Radar.ceilRate |
|
getset |
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated. 最大最小值向上取整的倍率。默认为0时自动计算。
Definition at line 217 of file Radar.cs.
218 get {
return m_CeilRate; }
219 set {
if (PropertyUtil.SetStruct(ref m_CeilRate, value < 0 ? 0 : value)) SetAllDirty(); }
◆ center
float [] XCharts.Radar.center |
|
getset |
the center of radar chart. 雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
Definition at line 163 of file Radar.cs.
164 get {
return m_Center; }
165 set {
if (value !=
null) { m_Center = value; SetAllDirty(); } }
◆ connectCenter
bool XCharts.Radar.connectCenter |
|
getset |
Whether serie data connect to radar center with line. 数值是否连线到中心点。
Definition at line 252 of file Radar.cs.
253 get {
return m_ConnectCenter; }
254 set {
if (PropertyUtil.SetStruct(ref m_ConnectCenter, value)) SetAllDirty(); }
◆ indicator
bool XCharts.Radar.indicator |
|
getset |
Whether to show indicator. 是否显示指示器。
Definition at line 199 of file Radar.cs.
200 get {
return m_Indicator; }
201 set {
if (PropertyUtil.SetStruct(ref m_Indicator, value)) SetComponentDirty(); }
◆ indicatorGap
float XCharts.Radar.indicatorGap |
|
getset |
The gap of indicator and radar. 指示器和雷达的间距。
Definition at line 208 of file Radar.cs.
209 get {
return m_IndicatorGap; }
210 set {
if (PropertyUtil.SetStruct(ref m_IndicatorGap, value)) SetComponentDirty(); }
◆ indicatorList
the indicator list. 指示器列表。
Definition at line 269 of file Radar.cs.
269 {
get {
return m_IndicatorList; } }
◆ isAxisTooltip
bool XCharts.Radar.isAxisTooltip |
|
getset |
是否Tooltip显示轴线上的所有数据。
Definition at line 225 of file Radar.cs.
226 get {
return m_IsAxisTooltip; }
227 set {
if (PropertyUtil.SetStruct(ref m_IsAxisTooltip, value)) SetAllDirty(); }
◆ lineGradient
bool XCharts.Radar.lineGradient |
|
getset |
Whether need gradient for data line. 数值线段是否需要渐变。
Definition at line 261 of file Radar.cs.
262 get {
return m_LineGradient; }
263 set {
if (PropertyUtil.SetStruct(ref m_LineGradient, value)) SetAllDirty(); }
◆ outRangeColor
Color32 XCharts.Radar.outRangeColor |
|
getset |
The color displayed when data out of range. 数值超出范围时显示的颜色。
Definition at line 243 of file Radar.cs.
244 get {
return m_OutRangeColor; }
245 set {
if (PropertyUtil.SetStruct(ref m_OutRangeColor, value)) SetAllDirty(); }
◆ positionType
The position type of indicator. 显示位置类型。
Definition at line 234 of file Radar.cs.
235 get {
return m_PositionType; }
236 set {
if (PropertyUtil.SetStruct(ref m_PositionType, value)) SetAllDirty(); }
◆ radius
float XCharts.Radar.radius |
|
getset |
the radius of radar. 雷达图的半径。
Definition at line 144 of file Radar.cs.
145 get {
return m_Radius; }
146 set {
if (PropertyUtil.SetStruct(ref m_Radius, value)) SetAllDirty(); }
◆ runtimeCenterPos
Vector3 XCharts.Radar.runtimeCenterPos |
|
getset |
the center position of radar in container. 雷达图在容器中的具体中心点。
Definition at line 276 of file Radar.cs.
276 {
get;
internal set; }
◆ runtimeRadius
float XCharts.Radar.runtimeRadius |
|
getset |
the true radius of radar. 雷达图的运行时实际半径。
Definition at line 281 of file Radar.cs.
281 {
get;
internal set; }
◆ shape
Shape XCharts.Radar.shape |
|
getset |
Radar render type, in which 'Polygon' and 'Circle' are supported. 雷达图绘制类型,支持 'Polygon' 和 'Circle'。
Definition at line 135 of file Radar.cs.
136 get {
return m_Shape; }
137 set {
if (PropertyUtil.SetStruct(ref m_Shape, value)) SetAllDirty(); }
◆ show
[default:true] Set this to false to prevent the radar from showing. 是否显示雷达坐标系组件。
Definition at line 128 of file Radar.cs.
128 {
get {
return m_Show; }
set {
if (PropertyUtil.SetStruct(ref m_Show, value)) SetComponentDirty(); } }
◆ splitArea
Split area of axis in grid area. 分割区域。
Definition at line 190 of file Radar.cs.
191 get {
return m_SplitArea; }
192 set {
if (PropertyUtil.SetClass(ref m_SplitArea, value,
true)) SetAllDirty(); }
◆ splitLine
split line. 分割线。
Definition at line 181 of file Radar.cs.
182 get {
return m_SplitLine; }
183 set {
if (PropertyUtil.SetClass(ref m_SplitLine, value,
true)) SetAllDirty(); }
◆ splitNumber
int XCharts.Radar.splitNumber |
|
getset |
Segments of indicator axis. 指示器轴的分割段数。
Definition at line 153 of file Radar.cs.
154 get {
return m_SplitNumber; }
155 set {
if (PropertyUtil.SetStruct(ref m_SplitNumber, value)) SetAllDirty(); }
The documentation for this class was generated from the following file: