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 2018/09/21 09:01:13 UTC

[incubator-echarts] 02/03: test: add test for funnel label inside #8759

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.git

commit c031be5fe81f9c79f1a0a98f698319164476dd6c
Author: Ovilia <zw...@gmail.com>
AuthorDate: Fri Sep 21 17:00:32 2018 +0800

    test: add test for funnel label inside #8759
---
 test/funnel.html | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/test/funnel.html b/test/funnel.html
index 7cb7c20..a40ee2a 100644
--- a/test/funnel.html
+++ b/test/funnel.html
@@ -95,16 +95,26 @@ under the License.
                                 {value:60, name:'访问'},
                                 {value:40, name:'咨询'},
                                 {value:20, name:'订单'},
-                                {value:80, name:'点击', itemStyle: {
-                                    normal: {
+                                {
+                                    value:80,
+                                    name:'点击',
+                                    itemStyle: {
                                         height: '10%'
+                                    },
+                                    label: {
+                                        position: 'insideLeft'
                                     }
-                                }},
-                                {value:100, name:'展现', itemStyle: {
-                                    normal: {
+                                },
+                                {
+                                    value:100,
+                                    name:'展现',
+                                    itemStyle: {
                                         height: '30%'
+                                    },
+                                    label: {
+                                        position: 'insideRight'
                                     }
-                                }}
+                                }
                             ]
                         }
                     ]


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