mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
移除GanttChart
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
* [Serie-Ring 环形图](#Serie-Ring)
|
||||
* [Serie-Liquid 水位图](#Serie-Liquid)
|
||||
* [Serie-Candlestick K线图](#Serie-Candlestick)
|
||||
* [Serie-Gantt 甘特图](#Serie-Gantt)
|
||||
* [Settings 设置](#Settings)
|
||||
* [Theme 主题](#Theme)
|
||||
* [Tooltip 提示框](#Tooltip)
|
||||
@@ -778,24 +777,6 @@ K线图系列。
|
||||
* `animation`:起始动画 [SerieAnimation](#SerieAnimation)。
|
||||
* `data`:系列中的数据项 [SerieData](#SerieData) 数组,K线图至少需要4个维度的数组`[open, close, lowest, highest]`。
|
||||
|
||||
## `Serie-Gantt`
|
||||
|
||||
甘特图系列。支持类目轴和时间轴的甘特图,当 `X` 轴为类目轴时,数据为类目的索引,`X` 轴为时间轴时,数据为时间戳(秒为单位)。`Y` 轴默认为类目轴,显示的数据来源于`Serie`的`Data`的`Name`。
|
||||
甘特图默认支持开始和结束时间,也可以额外支持实际开始和结束时间。
|
||||
|
||||
* `show`:系列是否显示在图表上。
|
||||
* `type`:`Gantt`。
|
||||
* `name`:系列名称。用于 `tooltip` 的显示,`legend` 的图例筛选。
|
||||
* `xAxisIndex`:使用的坐标轴X轴的 `index`,在单个图表实例中存在多个坐标轴的时候有用。
|
||||
* `yAxisIndex`:使用的坐标轴Y轴的 `index`,在单个图表实例中存在多个坐标轴的时候有用。
|
||||
* `clip`:是否裁剪超出坐标系部分的图形。
|
||||
* `large`:是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。缺点:优化后不能自定义设置单个数据项的样式,不能显示Label,折线图不绘制Symbol。
|
||||
* `largeThreshold`:开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
|
||||
* `itemStyle`:甘特图的柱条样式,包括设置背景颜色和边框等 [ItemStyle](#ItemStyle)。
|
||||
* `emphasis`:高亮样式 [Emphasis](#Emphasis)。
|
||||
* `animation`:起始动画 [SerieAnimation](#SerieAnimation)。
|
||||
* `data`:系列中的数据项 [SerieData](#SerieData) 数组,甘特图至少需要2个维度的数组`[start, end]`,也支持4个维度的数组`[start, end, actualStart, actualEnd]`。当 X 轴为类目轴时,数据为类目的索引,X 轴为时间轴时,数据为时间戳(秒为单位)。
|
||||
|
||||
## `Settings`
|
||||
|
||||
全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。
|
||||
|
||||
@@ -671,24 +671,6 @@ K线图系列。
|
||||
* `animation`:起始动画 [SerieAnimation](#SerieAnimation)。
|
||||
* `data`:系列中的数据项 [SerieData](#SerieData) 数组,K线图至少需要4个维度的数组`[open, close, lowest, highest]`。
|
||||
|
||||
## `Serie-Gantt`
|
||||
|
||||
甘特图系列。支持类目轴和时间轴的甘特图,当 `X` 轴为类目轴时,数据为类目的索引,`X` 轴为时间轴时,数据为时间戳(秒为单位)。`Y` 轴默认为类目轴,显示的数据来源于`Serie`的`Data`的`Name`。
|
||||
甘特图默认支持开始和结束时间,也可以额外支持实际开始和结束时间。
|
||||
|
||||
* `show`:系列是否显示在图表上。
|
||||
* `type`:`Gantt`。
|
||||
* `name`:系列名称。用于 `tooltip` 的显示,`legend` 的图例筛选。
|
||||
* `xAxisIndex`:使用的坐标轴X轴的 `index`,在单个图表实例中存在多个坐标轴的时候有用。
|
||||
* `yAxisIndex`:使用的坐标轴Y轴的 `index`,在单个图表实例中存在多个坐标轴的时候有用。
|
||||
* `clip`:是否裁剪超出坐标系部分的图形。
|
||||
* `large`:是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。缺点:优化后不能自定义设置单个数据项的样式,不能显示Label,折线图不绘制Symbol。
|
||||
* `largeThreshold`:开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
|
||||
* `itemStyle`:甘特图的柱条样式,包括设置背景颜色和边框等 [ItemStyle](#ItemStyle)。
|
||||
* `emphasis`:高亮样式 [Emphasis](#Emphasis)。
|
||||
* `animation`:起始动画 [SerieAnimation](#SerieAnimation)。
|
||||
* `data`:系列中的数据项 [SerieData](#SerieData) 数组,甘特图至少需要2个维度的数组`[start, end]`,也支持4个维度的数组`[start, end, actualStart, actualEnd]`。当 X 轴为类目轴时,数据为类目的索引,X 轴为时间轴时,数据为时间戳(秒为单位)。
|
||||
|
||||
## `Settings`
|
||||
|
||||
全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。
|
||||
|
||||
@@ -58,7 +58,6 @@ A powerful, easy-to-use, configurable charting and data visualization library fo
|
||||
* Support global adjustment of configuration parameters.
|
||||
* Added support for `TextMeshPro`.
|
||||
* Added `CandlestickChart`.
|
||||
* Added `GanttChart`.
|
||||
* __ Note:__ `2.0` has undergone a lot of refactoring and adjustments and is not fully compatible with version `1.0`, so `1.0` should not be directly upgraded to `2.0`. Some parameter Settings may be reset to default values after upgrading.
|
||||
|
||||
## Features
|
||||
|
||||
Reference in New Issue
Block a user