Skip to content

Commit

Permalink
revert #4782; fixes #4855; toggling issue in line charts
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Dec 9, 2024
1 parent caa732c commit 8fd74b3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/charts/Line.js
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,7 @@ class Line {
areaPath = graphics.move(pX, pY)

// Check for single isolated point
if (
series[i][j + 1] === null ||
typeof series[i][j + 1] === 'undefined'
) {
if (series[i][j + 1] === null) {
linePaths.push(linePath)
areaPaths.push(areaPath)
// Stay in pathState = 0;
Expand Down Expand Up @@ -1046,10 +1043,7 @@ class Line {
areaPath = graphics.move(pX, pY)

// Check for single isolated point
if (
series[i][j + 1] === null ||
typeof series[i][j + 1] === 'undefined'
) {
if (series[i][j + 1] === null) {
linePaths.push(linePath)
areaPaths.push(areaPath)
// Stay in pathState = 0
Expand Down

0 comments on commit 8fd74b3

Please sign in to comment.