Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/chart/line/LineView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,10 @@ class LineView extends ChartView {
polygon = this._newPolygon(
points, stackedOnPoints
);
}// If areaStyle is removed
else if (polygon) {
lineGroup.remove(polygon);
polygon = this._polygon = null;
}

// NOTE: Must update _endLabel before setClipPath.
Expand Down
40 changes: 40 additions & 0 deletions test/setOption.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.