Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4767 #4807

Closed
wants to merge 1 commit into from
Closed

#4767 #4807

Changes from all 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
6 changes: 4 additions & 2 deletions src/charts/Line.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class Line {
if (forecast.count > 0 && type !== 'rangeArea') {
const forecastCutoff =
w.globals.seriesXvalues[realIndex][
w.globals.seriesXvalues[realIndex].length - forecast.count - 1
w.globals.seriesXvalues[realIndex].length - forecast.count - 1
]
const elForecastMask = graphics.drawRect(
forecastCutoff,
Expand Down Expand Up @@ -642,7 +642,9 @@ class Line {
}

// push current X
xArrj.push(x)
if (typeof w.globals.seriesX[realIndex][j + 1] !== 'undefined') {
xArrj.push(x)
}

// push current Y that will be used as next series's bottom position
if (
Expand Down
Loading