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

sushuang pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-examples.git


The following commit(s) were added to refs/heads/next by this push:
     new ad330ab  fix: parallel do not support this formatter callback 
implementation. Before 4.9 it is just omitted. Since 5.0 it will throw error.
ad330ab is described below

commit ad330ab230fc9ee88e0291ef91384da657ed3df7
Author: 100pah <sushuang0...@gmail.com>
AuthorDate: Sun Nov 8 14:51:54 2020 +0800

    fix: parallel do not support this formatter callback implementation. Before 
4.9 it is just omitted. Since 5.0 it will throw error.
---
 public/data/parallel-nutrients.js | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/public/data/parallel-nutrients.js 
b/public/data/parallel-nutrients.js
index 75662b6..7b26ac4 100644
--- a/public/data/parallel-nutrients.js
+++ b/public/data/parallel-nutrients.js
@@ -88,17 +88,7 @@ function getOption(data) {
             padding: 10,
             backgroundColor: '#222',
             borderColor: '#777',
-            borderWidth: 1,
-            formatter: function (obj) {
-                var value = obj[0].value;
-                return '<div style="border-bottom: 1px solid 
rgba(255,255,255,.3); font-size: 18px;padding-bottom: 7px;margin-bottom: 7px">'
-                    + schema[1].name + ':' + value[1] + '<br>'
-                    + schema[2].name + ':' + value[2] + '<br>'
-                    + schema[3].name + ':' + value[3] + '<br>'
-                    + schema[4].name + ':' + value[4] + '<br>'
-                    + schema[5].name + ':' + value[5] + '<br>'
-                    + schema[6].name + ':' + value[6] + '<br>';
-            }
+            borderWidth: 1
         },
         title: [
             {


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

Reply via email to