From 6f5ae00e7d9dd45022cb586e3fb0c500be2107d3 Mon Sep 17 00:00:00 2001 From: Ovilia Date: Fri, 21 Sep 2018 17:00:02 +0800 Subject: [PATCH] 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 9751164947..5ac9ba6bb1 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;