Skip to content

Commit c77f2ac

Browse files
committed
marker fix for null values
1 parent a6cefdc commit c77f2ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/modules/Markers.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ export default class Markers {
6060
let dataPointIndex = j
6161
let invalidMarker = !Utils.isNumber(p.y[q])
6262

63-
if (w.globals.series[i][j + 1] !== null && !isVirtualPoint) {
63+
if (
64+
w.globals.hasNullValues &&
65+
w.globals.series[i][j + 1] !== null &&
66+
!isVirtualPoint
67+
) {
6468
invalidMarker = true
6569
}
6670

0 commit comments

Comments
 (0)