Skip to content

Commit

Permalink
Update axis.zh.md
Browse files Browse the repository at this point in the history
原有示例不对,xAxis 配置中没有text属性,text属性,需要放在title属性里边
  • Loading branch information
zhangwentao authored Nov 3, 2023
1 parent 9002029 commit cb8652b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site/docs/api/components/axis.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ xAxis: false; // 隐藏 x 轴

```ts
xAxis: {
text: 'x 轴标题'
title: {
text: 'x 轴标题'
}
}
```

#### 配置属性 - _AxisCfg_

<embed src="@/docs/common/axis.zh.md"></embed>
<embed src="@/docs/common/axis.zh.md"></embed>

0 comments on commit cb8652b

Please sign in to comment.