diff --git a/src/chart/line/LineView.ts b/src/chart/line/LineView.ts index 493c17d186..45414fb386 100644 --- a/src/chart/line/LineView.ts +++ b/src/chart/line/LineView.ts @@ -947,8 +947,8 @@ class LineView extends ChartView { if (this._clipShapeForSymbol && !this._clipShapeForSymbol.contain(x, y)) { return; } - const zlevel = seriesModel.get('zlevel'); - const z = seriesModel.get('z'); + const zlevel = seriesModel.get('zlevel') || 0; + const z = seriesModel.get('z') || 0; symbol = new SymbolClz(data, dataIndex); symbol.x = x; symbol.y = y; diff --git a/test/line-case.html b/test/line-case.html index aa54d7c77c..8d76e8e412 100644 --- a/test/line-case.html +++ b/test/line-case.html @@ -41,6 +41,7 @@
+ @@ -610,6 +611,39 @@ }); + +