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:12 UTC

[incubator-echarts] 01/03: fix: funnel label inside checking, fix bug of #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 6f5ae00e7d9dd45022cb586e3fb0c500be2107d3
Author: Ovilia <zw...@gmail.com>
AuthorDate: Fri Sep 21 17:00:02 2018 +0800

    fix: funnel label inside checking, fix bug of #8759
---
 src/chart/funnel/funnelLayout.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/chart/funnel/funnelLayout.js b/src/chart/funnel/funnelLayout.js
index 9751164..5ac9ba6 100644
--- a/src/chart/funnel/funnelLayout.js
+++ b/src/chart/funnel/funnelLayout.js
@@ -64,7 +64,8 @@ function labelLayout(data) {
         var points = layout.points;
 
         var isLabelInside = labelPosition === 'inner'
-            || labelPosition === 'inside' || labelPosition === 'center';
+            || labelPosition === 'inside' || labelPosition === 'center'
+            || labelPosition === 'insideLeft' || labelPosition === 'insideRight';
 
         var textAlign;
         var textX;


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