Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix link #3514

Merged
merged 4 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions site/docs/manual/upgrade.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ G2Plot 2.0 is under continuous development. Up to now, we have completed the dev
| Chart name | Description | Example |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| Bubble | 改用 Scatter 实现, 修改图表名称即可。 | [Scatter](/en/examples/scatter/bubble#quadrant) |
| StackedColumn | 改用 Column 实现。<br/> 删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`。 | [Column](/en/examples/column/stacked) |
| GroupedColumn | 改用 Column 实现。<br/>删除 groupField 配置,改为 seriesField,需要指定 `isGroup: true`。 | [Column](/en/examples/column/grouped) |
| PercentStackedColumn | 改用 Column 实现。<br/> 删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`、`isPercent: true`。 | [Column](/en/examples/column/percent) |
| StackedColumn | 改用 Column 实现。<br/> 删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`。 | [Column](/en/examples/column/stacked#basic) |
| GroupedColumn | 改用 Column 实现。<br/>删除 groupField 配置,改为 seriesField,需要指定 `isGroup: true`。 | [Column](/en/examples/column/grouped#basic) |
| PercentStackedColumn | 改用 Column 实现。<br/> 删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`、`isPercent: true`。 | [Column](/en/examples/column/percent#basic) |
| RangeColumn | 改用 Column 实现。 <br/> 删除 stackField 配置,需要指定 `isRange: true`。 <br/> label 不再支持 topStyle、bottomStyle,详细配置请参考 [API](/en/examples/column/range/API#label) 文档。 | [Column](/en/examples/column/range#basic) |
| StackedBar | 改用 Bar 实现。<br/>删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`。 | [Bar](/en/examples/bar/stacked) |
| PercentStackedBar | 改用 Bar 实现。<br/> 删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`、`isPercent: true`。 | [Bar](/en/examples/bar/percent) |
| StackedBar | 改用 Bar 实现。<br/>删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`。 | [Bar](/en/examples/bar/stacked#basic) |
| PercentStackedBar | 改用 Bar 实现。<br/> 删除 stackField 配置,改为 seriesField,需要指定 `isStack: true`、`isPercent: true`。 | [Bar](/en/examples/bar/percent#basic) |
| RangeBar | 改用 Bar 实现。 <br/>删除 stackField 配置,需要指定 `isRange: true`。 <br/> label 不再支持 topStyle、bottomStyle,详细配置请参考 [API](/en/examples/bar/range/API#label) 文档 | [Bar](/en/examples/bar/range#basic) |
| Donut | 改用 Pie 实现,修改图表名称即可。 | [Pie](/en/examples/pie/donut) |
| DualLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/dual-line) |
| ColumnLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/column-line) |
| StackedColumnLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/stacked-column-line) |
| GroupedColumnLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/grouped-column-line) |
| StackedArea | 改用 Area 实现。 <br/>去掉 stackField ,改用 seriesField。 | [Area](/en/examples/area/stacked) |
| PercentStackedArea | 改用 Area 实现。去掉 stackField ,改用 seriesField ,需要指定 `isPercent: true`。 | [Area](/en/examples/area/percent) |
| StepLine | 改用 Line 实现,需要指定 stepType。<br/>1.0 版版本可以使用默认 step ,2.0 版本必须手动指定 stepType(hv, vh, hvh, vhv), | [Line](/en/examples/line/step) |
| Donut | 改用 Pie 实现,修改图表名称即可。 | [Pie](/en/examples/pie/donut#basic) |
| DualLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/dual-line#dual-line) |
| ColumnLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/column-line#column-line) |
| StackedColumnLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/stacked-column-line#stacked-column-line)) |
| GroupedColumnLine | 改用 DualAxes 实现。 | [Demos](/en/examples/dual-axes/grouped-column-line#grouped-column-line) |
| StackedArea | 改用 Area 实现。 <br/>去掉 stackField ,改用 seriesField。 | [Area](/en/examples/area/stacked#basic) |
| PercentStackedArea | 改用 Area 实现。去掉 stackField ,改用 seriesField ,需要指定 `isPercent: true`。 | [Area](/en/examples/area/percent#basic) |
| StepLine | 改用 Line 实现,需要指定 stepType。<br/>1.0 版版本可以使用默认 step ,2.0 版本必须手动指定 stepType(hv, vh, hvh, vhv), | [Line](/en/examples/line/step#line) |

## Configuration change

Expand Down Expand Up @@ -54,7 +54,7 @@ G2Plot 2.0 is compatible with most of the chart functions and configuration item
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| Scatter | pointSize: 不再支持,改用 size。<br /> shape: 去掉默认类型 circle,需要显性设置。<br /> trendline: 不再支持,改用 regressionLine,删除 showConfidence、confidenceStyle 配置,新增 algorithm 配置 | - |
| Rose | categoryField: 不再支持,改用 xField。<br /> radiusField: 不再支持,改用 yField。<br /> colorField: 不再支持,改用 seriesField。 | - |
| Bullet | 改动较大,详细参考 [Bullet](/en/examples/progress-plots/bullet) | - |
| Bullet | 改动较大,详细参考 [Bullet](/en/examples/progress-plots/bullet#basic) | - |
| WordCloud | maskImage: 不再支持, 改用 imageMask。<br /> wordStyle 选项中的 gridSize 改为 padding。<br /> data 不再做限制,但需要指定 wordField、weightField。 | - |
| TinyArea、TinyColumn、 TinyLine | 删除 xField 、yField。<br /> data 类型由 object[] 变为 number[]。 | - |
| Gauge | 删除 color 、 min 、 max。<br />删除 value , 改用 percent。 <br />删除 pivot 改用 indicator。 <br /> 更新 range ,详细参考[Gauge](/en/examples/progress-plots/gauge#basic) | <img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*icQqR71EdikAAAAAAAAAAAAAARQnAQ" alt="示例" /> |
Expand Down
Loading