diff --git a/src/utils/buildAxis.linear.ts b/src/utils/buildAxis.linear.ts index 44f5d8a9..8629e304 100644 --- a/src/utils/buildAxis.linear.ts +++ b/src/utils/buildAxis.linear.ts @@ -419,7 +419,7 @@ function stackSeries( .keys(seriesIndices) .value((_, seriesIndex, index) => { const val = axisOptions.getValue( - axisSeries[Number(seriesIndex)].datums[index].originalDatum + axisSeries[Number(seriesIndex)]?.datums[index]?.originalDatum ) if (typeof val === 'undefined' || val === null) {