Skip to content

Commit

Permalink
docs(bidirectional-bar): 新增双 y 轴中 yAxis 配置示例 (#3195)
Browse files Browse the repository at this point in the history
加了示例配置代码更清晰,降低理解成本。
  • Loading branch information
cooper1x authored May 24, 2022
1 parent fbd4358 commit 35afcd5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/common/common-component.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

xAxis、yAxis 配置相同。**注意**:由于 DualAxes(双轴图) 和 BidirectionalBar(对称条形图) 是双 y 轴, yAxis 类型是以 yField 中的字段作为 `key` 值的`object`

```ts
y 轴中 yAxis 配置示例:
yAxis: {
'2016年耕地总面积': {
nice: true,
},
'2016年转基因种植面积': {
nice: true,
min: 0,
max: 100,
},
```
`markdown:docs/common/axis.zh.md`
#### legend
Expand Down

0 comments on commit 35afcd5

Please sign in to comment.