|
override void | ClearVerticesDirty () |
|
override void | ClearComponentDirty () |
|
void | ClearNameDirty () |
|
override void | ClearDirty () |
|
void | ClearData () |
| 清空所有数据 More...
|
|
void | RemoveData (int index) |
| 移除指定索引的数据 More...
|
|
SerieData | AddYData (double value, string dataName=null) |
| 添加一个数据到维度Y(此时维度X对应的数据是索引) More...
|
|
SerieData | AddXYData (double xValue, double yValue, string dataName=null) |
| 添加(x,y)数据到维度X和维度Y More...
|
|
SerieData | AddData (double open, double close, double lowest, double heighest, string dataName=null) |
| 添加 (open, close, lowest, heighest) 数据 More...
|
|
SerieData | AddData (List< double > valueList, string dataName=null) |
| 将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。 More...
|
|
SerieData | AddChildData (SerieData parent, double value, string name=null) |
|
SerieData | AddChildData (SerieData parent, List< double > value, string name=null) |
|
double | GetData (int index, int dimension, DataZoom dataZoom=null) |
| 获得指定index指定维数的数据 More...
|
|
double | GetYData (int index, DataZoom dataZoom=null) |
| 获得维度Y索引对应的数据 More...
|
|
double | GetYCurrData (int index, DataZoom dataZoom=null) |
|
void | GetYData (int index, out double yData, out string dataName, DataZoom dataZoom=null) |
| 获得维度Y索引对应的数据和数据名 More...
|
|
SerieData | GetSerieData (int index, DataZoom dataZoom=null) |
| 获得指定索引的数据项 More...
|
|
SerieData | GetSerieData (string id, DataZoom dataZoom=null) |
|
SerieData | GetSerieData (SerieData parent, string id) |
|
void | GetXYData (int index, DataZoom dataZoom, out double xValue, out double yVlaue) |
| 获得指定索引的维度X和维度Y的数据 More...
|
|
double | GetDataTotal (int dimension) |
|
List< SerieData > | GetDataList (DataZoom dataZoom=null) |
| 获得系列的数据列表 More...
|
|
bool | UpdateYData (int index, double value) |
| 更新指定索引的维度Y数据 More...
|
|
bool | UpdateXYData (int index, float xValue, float yValue) |
| 更新指定索引的维度X和维度Y的数据 More...
|
|
bool | UpdateData (int index, int dimension, double value) |
| 更新指定索引指定维数的数据 More...
|
|
bool | UpdateData (int index, List< double > values) |
| 更新指定索引的数据项数据列表 More...
|
|
bool | UpdateDataName (int index, string name) |
|
void | ClearHighlight () |
| 清除所有数据的高亮标志 More...
|
|
void | SetHighlight (int index, bool flag) |
| 设置指定索引的数据为高亮状态 More...
|
|
float | GetBarWidth (float categoryWidth) |
|
bool | IsIgnoreIndex (int index, int dimension=1) |
|
bool | IsIgnoreValue (SerieData serieData, int dimension=1) |
|
bool | IsIgnoreValue (double value) |
|
bool | IsIgnorePoint (int index) |
|
bool | IsPerformanceMode () |
| 是否为性能模式。只有折线图和柱状图才有性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。 More...
|
|
bool | IsCoordinateSerie () |
|
void | SetDataIconSize (int dataIndex, float width, float height) |
| 设置指定index的数据图标的尺寸 More...
|
|
void | SetDataIconColor (int dataIndex, Color color) |
| 设置指定index的数据图标的颜色 More...
|
|
void | AnimationEnable (bool flag) |
| 启用或取消初始动画 More...
|
|
void | AnimationFadeIn () |
| 渐入动画 More...
|
|
void | AnimationFadeOut () |
| 渐出动画 More...
|
|
void | AnimationPause () |
| 暂停动画 More...
|
|
void | AnimationResume () |
| 继续动画 More...
|
|
void | AnimationReset () |
| 重置动画 More...
|
|
void | AnimationRestart () |
| 重置动画 More...
|
|
void | ParseJsonData (string jsonData) |
| 从json中导入数据 More...
|
|
virtual void | SetVerticesDirty () |
|
virtual void | SetComponentDirty () |
|
virtual void | SetAllDirty () |
|
|
bool | show [get, set] |
| Whether to show serie in chart. 系列是否显示在图表上。 More...
|
|
SerieType | type [get, set] |
| the chart type of serie. 系列的图表类型。 More...
|
|
string | name [get, set] |
| Series name used for displaying in tooltip and filtering with legend. 系列名称,用于 tooltip 的显示,legend 的图例筛选。 More...
|
|
string? | legendName [get] |
| Legend name. When the serie name is not empty, the legend name is the series name; Otherwise, it is index. 图例名称。当系列名称不为空时,图例名称即为系列名称;反之则为索引index。 More...
|
|
string | stack [get, set] |
| If stack the value. On the same category axis, the series with the same stack name would be put on top of each other. 数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。 More...
|
|
int | xAxisIndex [get, set] |
| the index of XAxis. 使用X轴的index。 More...
|
|
int | yAxisIndex [get, set] |
| the index of YAxis. 使用Y轴的index。 More...
|
|
int | radarIndex [get, set] |
| Index of radar component that radar chart uses. 雷达图所使用的 radar 组件的 index。 More...
|
|
int | vesselIndex [get, set] |
| Index of vesel component that liquid chart uses. 水位图所使用的 vessel 组件的 index。 More...
|
|
int | polarIndex [get, set] |
| Index of polar component that serie uses. 所使用的 polar 组件的 index。 More...
|
|
int? | minShow [get, set] |
| The min number of data to show in chart. 系列所显示数据的最小索引 More...
|
|
int? | maxShow [get, set] |
| The max number of data to show in chart. 系列所显示数据的最大索引 More...
|
|
int? | maxCache [get, set] |
| The max number of serie data cache. The first data will be remove when the size of serie data is larger then maxCache. default:0,unlimited. 系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。 More...
|
|
AreaStyle | areaStyle [get, set] |
| The style of area. 区域填充样式。 More...
|
|
SerieSymbol | symbol [get, set] |
| the symbol of serie data item. 标记的图形。 More...
|
|
LineType | lineType [get, set] |
| The type of line chart. 折线图样式类型。 More...
|
|
float? | sampleDist [get, set] |
| the min pixel dist of sample. 采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。 More...
|
|
SampleType | sampleType [get, set] |
| the type of sample. 采样类型。当sampleDist大于0时有效。 More...
|
|
float | sampleAverage [get, set] |
| 设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。 More...
|
|
LineStyle | lineStyle [get, set] |
| The style of line. 线条样式。 More...
|
|
BarType | barType [get, set] |
| 柱形图类型。 More...
|
|
bool | barPercentStack [get, set] |
| 柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。 More...
|
|
float | barWidth [get, set] |
| The width of the bar. Adaptive when default 0. 柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。 More...
|
|
float | barGap [get, set] |
| The gap between bars between different series, is a percent value like '0.3f' , which means 30% of the bar width, can be set as a fixed value. More...
|
|
float | barCategoryGap [get, set] |
| The bar gap of a single series, defaults to be 20% of the category gap, can be set as a fixed value. In a single coodinate system, this attribute is shared by multiple 'bar' series. This attribute should be set on the last 'bar' series in the coodinate system, then it will be adopted by all 'bar' series in the coordinate system. 同一系列的柱间距离,默认为类目间距的20,可设固定值。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。 More...
|
|
float? | barZebraWidth [get, set] |
| 斑马线的粗细。 More...
|
|
float? | barZebraGap [get, set] |
| 斑马线的间距。 More...
|
|
bool | pieClickOffset [get, set] |
| Whether offset when mouse click pie chart item. 鼠标点击时是否开启偏移,一般用在PieChart图表中。 More...
|
|
RoseType | pieRoseType [get, set] |
| Whether to show as Nightingale chart. 是否展示成南丁格尔图,通过半径区分数据大小。 More...
|
|
float | pieSpace [get, set] |
| the space of pie chart item. 饼图项间的空隙留白。 More...
|
|
float | gap [get, set] |
|
float[] | center [get, set] |
| the center of chart. 中心点。 More...
|
|
float[] | radius [get, set] |
| the radius of chart. 半径。radius[0]表示内径,radius[1]表示外径。 More...
|
|
float | min [get, set] |
| 最小值。 More...
|
|
float | max [get, set] |
| 最大值。 More...
|
|
float | minSize [get, set] |
| 数据最小值 min 映射的宽度。 More...
|
|
float | maxSize [get, set] |
| 数据最大值 max 映射的宽度。 More...
|
|
float | startAngle [get, set] |
| 起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。 More...
|
|
float | endAngle [get, set] |
| 结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。 More...
|
|
float | minAngle [get, set] |
| The minimum angle of sector(0-360). It prevents some sector from being too small when value is small. 最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。 More...
|
|
bool | clockwise [get, set] |
| 是否顺时针。 More...
|
|
float | ringGap [get, set] |
| 环形图的环间隙。 More...
|
|
int? | splitNumber [get, set] |
| 刻度分割段数。最大可设置36。 More...
|
|
bool | roundCap [get, set] |
| 是否开启圆弧效果。 More...
|
|
bool | ignore [get, set] |
| 是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。 More...
|
|
double | ignoreValue [get, set] |
| 忽略数据的默认值。当ignore为true才有效。 More...
|
|
bool | ignoreLineBreak [get, set] |
| 忽略数据时折线是断开还是连接。默认false为连接。 More...
|
|
RadarType | radarType [get, set] |
| 雷达图类型。 More...
|
|
GaugeAxis | gaugeAxis [get, set] |
| 仪表盘轴线。 More...
|
|
GaugePointer | gaugePointer [get, set] |
| 仪表盘指针。 More...
|
|
GaugeType | gaugeType [get, set] |
| 仪表盘类型。 More...
|
|
SerieLabel | label [get, set] |
| Text label of graphic element,to explain some data information about graphic item like value, name and so on. 图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。 More...
|
|
SerieAnimation | animation [get, set] |
| The start animation. 起始动画。 More...
|
|
LineArrow | lineArrow [get, set] |
| The arrow of line. 折线图的箭头。 More...
|
|
ItemStyle | itemStyle [get, set] |
| The style of data item. 图形样式。 More...
|
|
Emphasis | emphasis [get, set] |
| 高亮的图形样式和文本标签样式。 More...
|
|
TitleStyle | titleStyle [get, set] |
| 标题样式。 More...
|
|
MarkLine | markLine [get, set] |
| 标线。 More...
|
|
IconStyle | iconStyle [get, set] |
| the icon of data. 数据项图标样式。 More...
|
|
int | showDataDimension [get, set] |
| 数据项里的数据维数。 More...
|
|
bool | showDataName [get, set] |
| 在Editor的inpsector上是否显示name参数 More...
|
|
bool | clip [get, set] |
| If clip the overflow on the coordinate system. 是否裁剪超出坐标系部分的图形。 More...
|
|
bool | showAsPositiveNumber [get, set] |
| Show negative number as positive number. 将负数数值显示为正数。一般和AxisLabel 的showAsPositiveNumber 配合使用。仅在折线图和柱状图中有效。 More...
|
|
bool | large [get, set] |
| 是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。 More...
|
|
int | largeThreshold [get, set] |
| 开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。 More...
|
|
bool | avoidLabelOverlap [get, set] |
| 在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。 More...
|
|
float | waveLength [get, set] |
| Wave length of the wave, which is relative to the diameter. 波长。为0-1小数时指直线的百分比。 More...
|
|
float | waveHeight [get, set] |
| 波高。 More...
|
|
float | waveOffset [get, set] |
| 波偏移。 More...
|
|
float | waveSpeed [get, set] |
| 波速。正数时左移,负数时右移。 More...
|
|
float | left [get, set] |
| Distance between component and the left side of the container. 组件离容器左侧的距离。 More...
|
|
float | right [get, set] |
| Distance between component and the right side of the container. 组件离容器右侧的距离。 More...
|
|
float | top [get, set] |
| Distance between component and the top side of the container. 组件离容器上侧的距离。 More...
|
|
float | bottom [get, set] |
| Distance between component and the bottom side of the container. 组件离容器下侧的距离。 More...
|
|
bool | customBool1 [get, set] |
|
bool | customBool2 [get, set] |
|
int | customInt1 [get, set] |
|
int | customInt2 [get, set] |
|
float | customFloat1 [get, set] |
|
float | customFloat2 [get, set] |
|
bool | insertDataToHead [get, set] |
| Whether to add new data at the head or at the end of the list. 添加新数据时是在列表的头部还是尾部加入。 More...
|
|
SerieDataSortType | dataSortType [get, set] |
| 组件的数据排序。 More...
|
|
Orient | orient [get, set] |
| 组件的朝向。 More...
|
|
Align | align [get, set] |
| 组件水平方向对齐方式。 More...
|
|
List< SerieData > | data [get] |
| 系列中的数据内容数组。SerieData可以设置1到n维数据。 More...
|
|
override bool | vertsDirty [get] |
|
override bool | componentDirty [get] |
|
int | index [get, set] |
| The index of serie,start at 0. 系列的索引,从0开始。 More...
|
|
bool | highlighted [get, set] |
| Whether the serie is highlighted. 该系列是否高亮,一般由图例悬停触发。 More...
|
|
int | dataCount [get] |
| the count of data list. 数据项个数。 More...
|
|
List< Vector3 > | dataPoints [get] |
| 数据项位置坐标。 More...
|
|
Vector3 | runtimeCenterPos [get, set] |
| 饼图的中心点位置。 More...
|
|
float | runtimeInsideRadius [get, set] |
| 饼图的内径 More...
|
|
float | runtimeOutsideRadius [get, set] |
| 饼图的外径 More...
|
|
double | runtimeDataMax [get, set] |
| 运行时的最大数据值 More...
|
|
double | runtimeDataMin [get, set] |
| 运行时的最小数据值 More...
|
|
double | runtimePieDataTotal [get, set] |
| 饼图的数据项之和 More...
|
|
float | runtimeWaveSpeed [get, set] |
|
Painter | runtimeCanvas [get, set] |
|
double | runtimeCheckValue [get, set] |
|
int | runtimeGridIndex [get, set] |
|
float | runtimeX [get, set] |
|
float | runtimeY [get, set] |
|
float | runtimeWidth [get, set] |
|
float | runtimeHeight [get, set] |
|
Rect | runtimeRect [get, set] |
|
List< SerieData > | runtimeSortedData [get] |
|
List< SerieData > | rootData [get] |
|
bool | nameDirty [get] |
|
double | yMax [get] |
| 维度Y对应数据中最大值。 More...
|
|
double | xMax [get] |
| 维度X对应数据中的最大值。 More...
|
|
double | yMin [get] |
| 维度Y对应数据的最小值。 More...
|
|
double | xMin [get] |
| 维度X对应数据的最小值。 More...
|
|
double | yTotal [get] |
| 维度Y数据的总和。 More...
|
|
double | xTotal [get] |
| 维度X数据的总和。 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] |
|
系列。每个系列通过 type 决定自己的图表类型。
Definition at line 261 of file Serie.cs.