This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/dev by this push: new 5fcf831 doc: add legend.symbolRotate apache/echarts#14876 5fcf831 is described below commit 5fcf831390fa2a3dd57ef128a41c3f9dc2ef246c Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Mon May 17 17:43:35 2021 +0800 doc: add legend.symbolRotate apache/echarts#14876 --- en/option/component/legend.md | 8 ++++++++ zh/option/component/legend.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/en/option/component/legend.md b/en/option/component/legend.md index 3cbe363..d8f1f37 100644 --- a/en/option/component/legend.md +++ b/en/option/component/legend.md @@ -101,6 +101,10 @@ Image height of legend symbol. prefix = "#" ) }} +## symbolRotate(number|string) = 'inherit' + +Rotation of the symbol, which can be `number | 'inherit'`. If it's `'inherit'`, `symbolRotate` of the series will be used. + ## formatter(string|Function) = null Formatter is used to format label of legend, which supports string template and callback function. @@ -215,6 +219,10 @@ Icon of the legend. prefix = "##" ) }} +### symbolRotate(number|string) = 'inherit' + +Rotation of the symbol, which can be `number | 'inherit'`. If it's `'inherit'`, `symbolRotate` of the series will be used. + ### textStyle(Object) Text style of legend. diff --git a/zh/option/component/legend.md b/zh/option/component/legend.md index 3e3487a..6fa88d4 100644 --- a/zh/option/component/legend.md +++ b/zh/option/component/legend.md @@ -184,6 +184,10 @@ const option = { prefix = "#" ) }} +## symbolRotate(number|string) = 'inherit' + +图形旋转角度,类型为 `number | 'inherit'`。如果为 `'inherit'`,表示取系列的 `symbolRotate`。 + ## formatter(string|Function) = null 用来格式化图例文本,支持字符串模板和回调函数两种形式。 @@ -309,6 +313,10 @@ data: [{ prefix = "##" ) }} +### symbolRotate(number|string) = 'inherit' + +图形旋转角度,类型为 `number | 'inherit'`。如果为 `'inherit'`,表示取系列的 `symbolRotate`。 + ### textStyle(Object) 图例项的文本样式。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org