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

feat: review and modify radial-bar docs #1904

Merged
merged 1 commit into from
Nov 12, 2020
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
4 changes: 1 addition & 3 deletions docs/manual/plots/radial-bar.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: 玉珏图
order: 25
---

## 配置属性

### 图表容器

`markdown:docs/common/chart-options.zh.md`
Expand Down Expand Up @@ -60,7 +58,7 @@ order: 25

`markdown:docs/common/shape-style.zh.md`

`markdown:docs/common/color.en.md`
`markdown:docs/common/color.zh.md`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uploading image.png…

这三个我感觉直接干掉吧


### 图表组件

Expand Down
83 changes: 1 addition & 82 deletions examples/radial-bar/basic/API.en.md
Original file line number Diff line number Diff line change
@@ -1,82 +1 @@
## 配置属性

### 图表容器

`markdown:docs/common/chart-options.en.md`

### 数据映射

#### data 📌

**必选**, _array object_

功能描述: 设置图表数据源

默认配置: 无

数据源为对象集合,例如:`[{ time: '1991',value: 20 }, { time: '1992',value: 20 }]`

`markdown:docs/common/meta.en.md`


#### colorField 📌

**可选**, _string_

功能描述: 颜色映射对应的数据字段名。

默认配置: 无

### 图形样式

#### radius

**可选**, _string_

功能描述: 半径, 0 ~ 1。

默认配置: `1`

#### innerRadius

**可选**, _number_;

功能描述: 内径,0 ~ 1。


#### maxAngle

**可选**, _number_

功能描述: 最大旋转角度,由 data 中最大的数值决定,最大值是 360 度。

默认配置: 240

`markdown:docs/common/color.en.md`

#### barStyle

**可选**, _StyleAttr | Function_

功能描述: 样式配置 。

默认配置: 无

`markdown:docs/common/shape-style.en.md`


### Plot Components

`markdown:docs/common/component-no-axis.en.md`

### Event

`markdown:docs/common/events.en.md`

### Plot Method

`markdown:docs/common/chart-methods.en.md`

### theme

`markdown:docs/common/theme.en.md`
`markdown:docs/manual/plots/radial-bar.en.md`
83 changes: 1 addition & 82 deletions examples/radial-bar/basic/API.zh.md
Original file line number Diff line number Diff line change
@@ -1,82 +1 @@
## 配置属性

### 图表容器

`markdown:docs/common/chart-options.zh.md`

### 数据映射

#### data 📌

**必选**, _array object_

功能描述: 设置图表数据源

默认配置: 无

数据源为对象集合,例如:`[{ time: '1991',value: 20 }, { time: '1992',value: 20 }]`

`markdown:docs/common/meta.zh.md`


#### colorField 📌

**可选**, _string_

功能描述: 颜色映射对应的数据字段名。

默认配置: 无

### 图形样式

#### radius

**可选**, _string_

功能描述: 半径, 0 ~ 1。

默认配置: `1`

#### innerRadius

**可选**, _number_;

功能描述: 内径,0 ~ 1。


#### maxAngle

**可选**, _number_

功能描述: 最大旋转角度,由 data 中最大的数值决定,最大值是 360 度。

默认配置: 240

`markdown:docs/common/color.zh.md`

#### barStyle

**可选**, _StyleAttr | Function_

功能描述: 样式配置 。

默认配置: 无

`markdown:docs/common/shape-style.zh.md`


### 图表组件

`markdown:docs/common/component-no-axis.zh.md`

### 事件

`markdown:docs/common/events.zh.md`

### 图表方法

`markdown:docs/common/chart-methods.zh.md`

### 图表主题

`markdown:docs/common/theme.zh.md`
`markdown:docs/manual/plots/radial-bar.zh.md`