Skip to content

Commit

Permalink
Incorrect Y coordinate used when closing the path caused ugly fill
Browse files Browse the repository at this point in the history
transitions on chart redraws.
  • Loading branch information
rosco54 committed May 15, 2024
1 parent 8c216f1 commit b4e70c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charts/Line.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class Line {
paths.linePaths.splice(segments)
paths.pathFromLine = rangePaths.pathFromLine + paths.pathFromLine
} else {
paths.pathFromArea += graphics.line(0, this.zeroY)
paths.pathFromArea += 'z'
}

this._handlePaths({ type, realIndex, i, paths })
Expand Down

0 comments on commit b4e70c6

Please sign in to comment.