Skip to content

Commit f0a8cc3

Browse files
authored
docs: 增加 axis title api说明 (#3065)
* docs: 增加 axis title api说明 * docs: 移除 demo 更新标识
1 parent e16d29d commit f0a8cc3

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

docs/common/axis.en.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ A configuration item for the title, NULL means not to be displayed.
2323
| offset | _number_ | The distance of the title from the coordinate axis |
2424
| spacing | _number_ | The distance between the title and the text on the coordinate axis |
2525
| style | _shapeStyle_ | Title text configuration items |
26-
| autoRotate | _boolean_ | Whether to rotate automatically or not |
26+
| autoRotate | _boolean_ | Whether to rotate automatically or not, default: true | |
27+
| rotation | _number_ | 关闭 `autoRotate` 后,可以设置自动旋转的角度,如: -Math.PI / 2 (条形图 y 轴标题) |
2728

2829
**_shapeStyle_**
2930

docs/common/axis.zh.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
| offset | _number_ | 标题距离坐标轴的距离 |
2424
| spacing | _number_ | 标题距离坐标轴文本的距离 |
2525
| style | _shapeStyle_ | 标题文本配置项 |
26-
| autoRotate | _boolean_ | 是否自动旋转 |
26+
| autoRotate | _boolean_ | 是否自动旋转,默认为: true |
27+
| rotation | _number_ | 关闭 `autoRotate` 后,可以设置自动旋转的角度,如: -Math.PI / 2 (条形图 y 轴标题) |
2728

2829
**_shapeStyle_**
2930

examples/case/statistical-scenario/demo/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"zh": "转化漏斗图",
3535
"en": "Conversion Funnel"
3636
},
37-
"new": true,
3837
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/81uizWIqmn/75bf097d-0c94-437f-aec9-5b5d9ba98cd2.png"
3938
},
4039
{

examples/column/basic/demo/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
"zh": "自定义柱状图图形元素展示",
7575
"en": "Custom column shape"
7676
},
77-
"new": true,
7877
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/98KdFZxO4I/blink-interval.gif"
7978
}
8079
]

examples/column/grouped/demo/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"zh": "自定义 react tooltip",
6767
"en": "Customize React Tooltip"
6868
},
69-
"new": true,
7069
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/djrdqmlrYh/rc-tooltip.png"
7170
}
7271
]

0 commit comments

Comments
 (0)