From 027946402ebfd116d34a0ff472c83c705921c992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=87=E9=9F=AC?= Date: Thu, 28 Mar 2024 11:54:03 +0800 Subject: [PATCH] Update axis.zh.md (#3697) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原有示例不对,xAxis 配置中没有text属性,text属性,需要放在title属性里边 --- site/docs/api/components/axis.zh.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/docs/api/components/axis.zh.md b/site/docs/api/components/axis.zh.md index 116389908a..c646bd8443 100644 --- a/site/docs/api/components/axis.zh.md +++ b/site/docs/api/components/axis.zh.md @@ -48,10 +48,12 @@ xAxis: false; // 隐藏 x 轴 ```ts xAxis: { - text: 'x 轴标题' + title: { + text: 'x 轴标题' + } } ``` #### 配置属性 - _AxisCfg_ - \ No newline at end of file +