Skip to content

Commit 35afcd5

Browse files
authored
docs(bidirectional-bar): 新增双 y 轴中 yAxis 配置示例 (#3195)
加了示例配置代码更清晰,降低理解成本。
1 parent fbd4358 commit 35afcd5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/common/common-component.zh.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

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

5+
```ts
6+
y 轴中 yAxis 配置示例:
7+
yAxis: {
8+
'2016年耕地总面积': {
9+
nice: true,
10+
},
11+
'2016年转基因种植面积': {
12+
nice: true,
13+
min: 0,
14+
max: 100,
15+
},
16+
```
17+
518
`markdown:docs/common/axis.zh.md`
619
720
#### legend

0 commit comments

Comments
 (0)