系列数据项的标记的图形
More...
|
void | Reset () |
|
float | GetSize (List< double > data, float themeSize) |
| 根据指定的sizeType获得标记的大小 More...
|
|
float | GetSelectedSize (List< double > data, float themeSelectedSize) |
| 根据sizeType获得高亮时的标记大小 More...
|
|
bool | ShowSymbol (int dataIndex, int dataCount) |
|
virtual void | SetVerticesDirty () |
|
virtual void | ClearVerticesDirty () |
|
virtual void | SetComponentDirty () |
|
virtual void | ClearComponentDirty () |
|
virtual void | ClearDirty () |
|
virtual void | SetAllDirty () |
|
|
bool | show [get, set] |
| Whether the symbol is showed. 是否显示标记。 More...
|
|
SerieSymbolType | type [get, set] |
| the type of symbol. 标记类型。 More...
|
|
SerieSymbolSizeType | sizeType [get, set] |
| the type of symbol size. 标记图形的大小获取方式。 More...
|
|
float | size [get, set] |
| the size of symbol. 标记的大小。 More...
|
|
float | selectedSize [get, set] |
| the size of selected symbol. 被选中的标记的大小。 More...
|
|
int | dataIndex [get, set] |
| whitch data index is when the sizeType assined as FromData. 当sizeType指定为FromData时,指定的数据源索引。 More...
|
|
float | dataScale [get, set] |
| the scale of data when sizeType assined as FromData. 当sizeType指定为FromData时,指定的倍数系数。 More...
|
|
float | selectedDataScale [get, set] |
| the scale of selected data when sizeType assined as FromData. 当sizeType指定为FromData时,指定的高亮倍数系数。 More...
|
|
SymbolSizeCallback | sizeCallback [get, set] |
| the callback of size when sizeType assined as Callback. 当sizeType指定为Callback时,指定的回调函数。 More...
|
|
SymbolSizeCallback | selectedSizeCallback [get, set] |
| the callback of size when sizeType assined as Callback. 当sizeType指定为Callback时,指定的高亮回调函数。 More...
|
|
int | startIndex [get, set] |
| the index start to show symbol. 开始显示图形标记的索引。 More...
|
|
int | interval [get, set] |
| the interval of show symbol. 显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。 More...
|
|
bool | forceShowLast [get, set] |
| whether to show the last symbol. 是否强制显示最后一个图形标记。 More...
|
|
float | gap [get, set] |
| the gap of symbol and line segment. 图形标记和线条的间隙距离。 More...
|
|
float | width [get, set] |
| 图形的宽。 More...
|
|
float | height [get, set] |
| 图形的高。 More...
|
|
bool | repeat [get, set] |
| 图形是否重复。 More...
|
|
Sprite | image [get, set] |
| 自定义的标记图形。 More...
|
|
Image.Type | imageType [get, set] |
|
Vector2 | offset [get, set] |
| 图形的偏移。 More...
|
|
Vector3 | offset3 [get] |
|
List< float > | animationSize [get] |
| the setting for effect scatter. 带有涟漪特效动画的散点图的动画参数。 More...
|
|
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 |
|
系列数据项的标记的图形
Definition at line 91 of file SerieSymbol.cs.
◆ GetSelectedSize()
float XCharts.SerieSymbol.GetSelectedSize |
( |
List< double > |
data, |
|
|
float |
themeSelectedSize |
|
) |
| |
|
inline |
根据sizeType获得高亮时的标记大小
- Parameters
-
- Returns
Definition at line 349 of file SerieSymbol.cs.
358 return (
float)data[
dataIndex] * m_SelectedDataScale;
◆ GetSize()
float XCharts.SerieSymbol.GetSize |
( |
List< double > |
data, |
|
|
float |
themeSize |
|
) |
| |
|
inline |
根据指定的sizeType获得标记的大小
- Parameters
-
- Returns
Definition at line 322 of file SerieSymbol.cs.
327 return size == 0 ? themeSize :
size;
331 return (
float)data[
dataIndex] * m_DataScale;
335 return size == 0 ? themeSize :
size;
339 else return size == 0 ? themeSize :
size;
340 default:
return size == 0 ? themeSize :
size;
◆ animationSize
List<float> XCharts.SerieSymbol.animationSize |
|
get |
the setting for effect scatter. 带有涟漪特效动画的散点图的动画参数。
Definition at line 315 of file SerieSymbol.cs.
315 {
get {
return m_AnimationSize; } }
◆ dataIndex
int XCharts.SerieSymbol.dataIndex |
|
getset |
whitch data index is when the sizeType assined as FromData. 当sizeType指定为FromData时,指定的数据源索引。
Definition at line 188 of file SerieSymbol.cs.
189 get {
return m_DataIndex; }
190 set {
if (PropertyUtil.SetStruct(ref m_DataIndex, value)) SetVerticesDirty(); }
◆ dataScale
float XCharts.SerieSymbol.dataScale |
|
getset |
the scale of data when sizeType assined as FromData. 当sizeType指定为FromData时,指定的倍数系数。
Definition at line 197 of file SerieSymbol.cs.
198 get {
return m_DataScale; }
199 set {
if (PropertyUtil.SetStruct(ref m_DataScale, value)) SetVerticesDirty(); }
◆ forceShowLast
bool XCharts.SerieSymbol.forceShowLast |
|
getset |
whether to show the last symbol. 是否强制显示最后一个图形标记。
Definition at line 251 of file SerieSymbol.cs.
252 get {
return m_ForceShowLast; }
253 set {
if (PropertyUtil.SetStruct(ref m_ForceShowLast, value)) SetVerticesDirty(); }
◆ gap
float XCharts.SerieSymbol.gap |
|
getset |
the gap of symbol and line segment. 图形标记和线条的间隙距离。
Definition at line 260 of file SerieSymbol.cs.
261 get {
return m_Gap; }
262 set {
if (PropertyUtil.SetStruct(ref m_Gap, value)) SetVerticesDirty(); }
◆ height
float XCharts.SerieSymbol.height |
|
getset |
图形的高。
Definition at line 276 of file SerieSymbol.cs.
277 get {
return m_Height; }
278 set {
if (PropertyUtil.SetStruct(ref m_Height, value)) SetAllDirty(); }
◆ image
Sprite XCharts.SerieSymbol.image |
|
getset |
自定义的标记图形。
Definition at line 292 of file SerieSymbol.cs.
293 get {
return m_Image; }
294 set {
if (PropertyUtil.SetClass(ref m_Image, value)) SetAllDirty(); }
◆ interval
int XCharts.SerieSymbol.interval |
|
getset |
the interval of show symbol. 显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
Definition at line 242 of file SerieSymbol.cs.
243 get {
return m_Interval; }
244 set {
if (PropertyUtil.SetStruct(ref m_Interval, value)) SetVerticesDirty(); }
◆ offset
Vector2 XCharts.SerieSymbol.offset |
|
getset |
图形的偏移。
Definition at line 305 of file SerieSymbol.cs.
306 get {
return m_Offset; }
307 set {
if (PropertyUtil.SetStruct(ref m_Offset, value)) SetAllDirty(); }
◆ repeat
bool XCharts.SerieSymbol.repeat |
|
getset |
图形是否重复。
Definition at line 284 of file SerieSymbol.cs.
285 get {
return m_Repeat; }
286 set {
if (PropertyUtil.SetStruct(ref m_Repeat, value)) SetAllDirty(); }
◆ selectedDataScale
float XCharts.SerieSymbol.selectedDataScale |
|
getset |
the scale of selected data when sizeType assined as FromData. 当sizeType指定为FromData时,指定的高亮倍数系数。
Definition at line 206 of file SerieSymbol.cs.
207 get {
return m_SelectedDataScale; }
208 set {
if (PropertyUtil.SetStruct(ref m_SelectedDataScale, value)) SetVerticesDirty(); }
◆ selectedSize
float XCharts.SerieSymbol.selectedSize |
|
getset |
the size of selected symbol. 被选中的标记的大小。
Definition at line 179 of file SerieSymbol.cs.
180 get {
return m_SelectedSize; }
181 set {
if (PropertyUtil.SetStruct(ref m_SelectedSize, value)) SetVerticesDirty(); }
◆ selectedSizeCallback
the callback of size when sizeType assined as Callback. 当sizeType指定为Callback时,指定的高亮回调函数。
Definition at line 224 of file SerieSymbol.cs.
225 get {
return m_SelectedSizeCallback; }
226 set {
if (PropertyUtil.SetClass(ref m_SelectedSizeCallback, value)) SetVerticesDirty(); }
◆ show
bool XCharts.SerieSymbol.show |
|
getset |
Whether the symbol is showed. 是否显示标记。
Definition at line 143 of file SerieSymbol.cs.
144 get {
return m_Show; }
145 set {
if (PropertyUtil.SetStruct(ref m_Show, value)) SetAllDirty(); }
◆ size
float XCharts.SerieSymbol.size |
|
getset |
the size of symbol. 标记的大小。
Definition at line 170 of file SerieSymbol.cs.
171 get {
return m_Size; }
172 set {
if (PropertyUtil.SetStruct(ref m_Size, value)) SetVerticesDirty(); }
◆ sizeCallback
the callback of size when sizeType assined as Callback. 当sizeType指定为Callback时,指定的回调函数。
Definition at line 215 of file SerieSymbol.cs.
216 get {
return m_SizeCallback; }
217 set {
if (PropertyUtil.SetClass(ref m_SizeCallback, value)) SetVerticesDirty(); }
◆ sizeType
the type of symbol size. 标记图形的大小获取方式。
Definition at line 161 of file SerieSymbol.cs.
162 get {
return m_SizeType; }
163 set {
if (PropertyUtil.SetStruct(ref m_SizeType, value)) SetVerticesDirty(); }
◆ startIndex
int XCharts.SerieSymbol.startIndex |
|
getset |
the index start to show symbol. 开始显示图形标记的索引。
Definition at line 233 of file SerieSymbol.cs.
234 get {
return m_StartIndex; }
235 set {
if (PropertyUtil.SetStruct(ref m_StartIndex, value)) SetVerticesDirty(); }
◆ type
the type of symbol. 标记类型。
Definition at line 152 of file SerieSymbol.cs.
153 get {
return m_Type; }
154 set {
if (PropertyUtil.SetStruct(ref m_Type, value)) SetVerticesDirty(); }
◆ width
float XCharts.SerieSymbol.width |
|
getset |
图形的宽。
Definition at line 268 of file SerieSymbol.cs.
269 get {
return m_Width; }
270 set {
if (PropertyUtil.SetStruct(ref m_Width, value)) SetAllDirty(); }
The documentation for this class was generated from the following file: