Skip to content

Commit

Permalink
better way to judge clip or not
Browse files Browse the repository at this point in the history
  • Loading branch information
SnailSword authored and Yi Shen committed Nov 4, 2019
1 parent 0d12f10 commit eaf9249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/line/LineView.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export default ChartView.extend({
// FIXME step not support polar
var step = !isCoordSysPolar && seriesModel.get('step');
var clipShapeForSymbol;
if (coordSys && coordSys.getArea && seriesModel.get('clip')) {
if (coordSys && coordSys.getArea && seriesModel.get('clip', true)) {
clipShapeForSymbol = coordSys.getArea();
// Avoid float number rounding error for symbol on the edge of axis extent.
// See #7913 and `test/dataZoom-clip.html`.
Expand Down

0 comments on commit eaf9249

Please sign in to comment.