Skip to content

Commit

Permalink
Update axis.zh.md (#3697)
Browse files Browse the repository at this point in the history
原有示例不对,xAxis 配置中没有text属性,text属性,需要放在title属性里边
  • Loading branch information
zhangwentao committed Mar 28, 2024
1 parent 9002029 commit 0279464
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site/docs/api/components/axis.zh.md
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 0279464

Please sign in to comment.