Skip to content

Commit

Permalink
docs: 增加 axis title api说明 (#3065)
Browse files Browse the repository at this point in the history
* docs: 增加 axis title api说明

* docs: 移除 demo 更新标识
  • Loading branch information
visiky authored Jan 4, 2022
1 parent e16d29d commit f0a8cc3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/common/axis.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ A configuration item for the title, NULL means not to be displayed.
| offset | _number_ | The distance of the title from the coordinate axis |
| spacing | _number_ | The distance between the title and the text on the coordinate axis |
| style | _shapeStyle_ | Title text configuration items |
| autoRotate | _boolean_ | Whether to rotate automatically or not |
| autoRotate | _boolean_ | Whether to rotate automatically or not, default: true | |
| rotation | _number_ | 关闭 `autoRotate` 后,可以设置自动旋转的角度,如: -Math.PI / 2 (条形图 y 轴标题) |

**_shapeStyle_**

Expand Down
3 changes: 2 additions & 1 deletion docs/common/axis.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
| offset | _number_ | 标题距离坐标轴的距离 |
| spacing | _number_ | 标题距离坐标轴文本的距离 |
| style | _shapeStyle_ | 标题文本配置项 |
| autoRotate | _boolean_ | 是否自动旋转 |
| autoRotate | _boolean_ | 是否自动旋转,默认为: true |
| rotation | _number_ | 关闭 `autoRotate` 后,可以设置自动旋转的角度,如: -Math.PI / 2 (条形图 y 轴标题) |

**_shapeStyle_**

Expand Down
1 change: 0 additions & 1 deletion examples/case/statistical-scenario/demo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"zh": "转化漏斗图",
"en": "Conversion Funnel"
},
"new": true,
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/81uizWIqmn/75bf097d-0c94-437f-aec9-5b5d9ba98cd2.png"
},
{
Expand Down
1 change: 0 additions & 1 deletion examples/column/basic/demo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"zh": "自定义柱状图图形元素展示",
"en": "Custom column shape"
},
"new": true,
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/98KdFZxO4I/blink-interval.gif"
}
]
Expand Down
1 change: 0 additions & 1 deletion examples/column/grouped/demo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"zh": "自定义 react tooltip",
"en": "Customize React Tooltip"
},
"new": true,
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/djrdqmlrYh/rc-tooltip.png"
}
]
Expand Down

0 comments on commit f0a8cc3

Please sign in to comment.