Skip to content

Commit

Permalink
hide label when label.show is false
Browse files Browse the repository at this point in the history
fix and close #34
  • Loading branch information
Ovilia committed Jan 24, 2018
1 parent b954c97 commit c19e215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/liquidFillView.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ echarts.extendChartView({
})
.execute();

group.add(getText(waves));
if (itemModel.get('label.show')) {
group.add(getText(waves));
}

this._data = data;

Expand Down

0 comments on commit c19e215

Please sign in to comment.