Skip to content

Commit

Permalink
fix: funnel label inside checking, fix bug of #8759
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Sep 21, 2018
1 parent e4c4e0e commit 6f5ae00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chart/funnel/funnelLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f5ae00

Please sign in to comment.