You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/11/04 02:59:50 UTC
[incubator-echarts] 02/02: better way to judge clip or not
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit eaf924997b16c50c278416add19c27981c5b465b
Author: hantianjiao <ha...@baidu.com>
AuthorDate: Mon Nov 4 10:50:07 2019 +0800
better way to judge clip or not
---
src/chart/line/LineView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chart/line/LineView.js b/src/chart/line/LineView.js
index 6ed1a63..70c27a0 100644
--- a/src/chart/line/LineView.js
+++ b/src/chart/line/LineView.js
@@ -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`.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org