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:45 UTC
[incubator-echarts-doc] 01/02: add missing option for gauge
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