You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2020/04/21 05:08:44 UTC

[incubator-echarts-doc] branch master updated (d9c4d81 -> 33c1308)

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git.


    from d9c4d81  Update geo-common.md
     new cbcb00c  add missing option for gauge
     new 33c1308  add type for gauge.detail.formatter

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 en/option/series/gauge.md | 8 ++++++++
 zh/option/series/gauge.md | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[incubator-echarts-doc] 01/02: add missing option for gauge

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git

commit cbcb00c9f1e0e6e4c5e8e076a8b905fb4731d244
Author: susiwen8 <su...@gmail.com>
AuthorDate: Mon Apr 20 20:30:02 2020 +0800

    add missing option for gauge
---
 en/option/series/gauge.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/en/option/series/gauge.md b/en/option/series/gauge.md
index a7b9cff..c0aab19 100644
--- a/en/option/series/gauge.md
+++ b/en/option/series/gauge.md
@@ -163,6 +163,14 @@ The height of detail.
 The background color of detail.
 ### borderWidth(number) = 0
 The border width of detail.
+### formatter(Function|string)
+Formatter is used to format detail, which supports string template and callback function.
+
+```js
+formatter: function (value) {
+    return value.toFixed(0);
+}
+```
 ### borderColor(Color) = '#ccc'
 The border color of detail.
 ### offsetCenter(Array) = [0, '40%']


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[incubator-echarts-doc] 02/02: add type for gauge.detail.formatter

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git

commit 33c13081c5cb4c2aa586dfbffa99429f6c1ed02a
Author: susiwen8 <su...@gmail.com>
AuthorDate: Mon Apr 20 20:33:42 2020 +0800

    add type for gauge.detail.formatter
---
 zh/option/series/gauge.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zh/option/series/gauge.md b/zh/option/series/gauge.md
index c538000..009a916 100644
--- a/zh/option/series/gauge.md
+++ b/zh/option/series/gauge.md
@@ -171,7 +171,7 @@ formatter: function (value) {
 详情边框颜色。
 ### offsetCenter(Array) = [0, '40%']
 相对于仪表盘中心的偏移位置,数组第一项是水平方向的偏移,第二项是垂直方向的偏移。可以是绝对的数值,也可以是相对于仪表盘半径的百分比。
-### formatter(Function)
+### formatter(Function|string)
 格式化函数或者字符串
 
 ```js


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org