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 2021/11/01 08:38:51 UTC

[echarts] branch fix-15915 updated (28c059d -> 6a1a8ae)

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

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


    from 28c059d  fix(radar): name being - in tooltip when name.show is false #15915
     new 8cecdd7  test(radar): update test for #15915
     new 6a1a8ae  test(radar): update test for #15915

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:
 test/radar3.html | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

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


[echarts] 01/02: test(radar): update test for #15915

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

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

commit 8cecdd767a4599ac32523143718d0c12c19b4ea3
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Nov 1 16:34:02 2021 +0800

    test(radar): update test for #15915
---
 test/radar3.html | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/test/radar3.html b/test/radar3.html
index 6b6f64e..ca311d3 100644
--- a/test/radar3.html
+++ b/test/radar3.html
@@ -41,9 +41,14 @@ under the License.
                 var chart = echarts.init(document.getElementById('main'));
 
                 chart.setOption({
-                    title: {
+                    title: [{
                         text: '多雷达图'
-                    },
+                    }, {
+                        text: 'Tooltip series names should not be "-"',
+                        left: '25%',
+                        top: '70%',
+                        textAlign: 'center'
+                    }],
                     tooltip: {
                         trigger: 'axis'
                     },
@@ -54,13 +59,18 @@ under the License.
                     radar: [
                         {
                             indicator: [
-                                {text: '品牌', max: 100},
-                                {text: '内容', max: 100},
-                                {text: '可用性', max: 100},
+                                {name: '品牌', max: 100},
+                                {name: '内容', max: 100},
+                                {name: '可用性', max: 100},
+                                // text is deprecated
                                 {text: '功能', max: 100}
                             ],
                             center: ['25%',200],
-                            radius: 80
+                            radius: 80,
+                            axisName: {
+                                show: false,
+                                formatter: 'name: {value}'
+                            }
                         },
                         {
                             indicator: [

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


[echarts] 02/02: test(radar): update test for #15915

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

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

commit 6a1a8ae4415f8ebdf996a7b047f14411e7a3e5a5
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Nov 1 16:36:59 2021 +0800

    test(radar): update test for #15915
---
 test/radar3.html | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/radar3.html b/test/radar3.html
index ca311d3..fda7b3d 100644
--- a/test/radar3.html
+++ b/test/radar3.html
@@ -46,7 +46,7 @@ under the License.
                     }, {
                         text: 'Tooltip series names should not be "-"',
                         left: '25%',
-                        top: '70%',
+                        top: 320,
                         textAlign: 'center'
                     }],
                     tooltip: {
@@ -68,8 +68,7 @@ under the License.
                             center: ['25%',200],
                             radius: 80,
                             axisName: {
-                                show: false,
-                                formatter: 'name: {value}'
+                                show: false
                             }
                         },
                         {

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