diff --git a/src/chart/model/candle-series.model.ts b/src/chart/model/candle-series.model.ts index caca538..47d89c9 100644 --- a/src/chart/model/candle-series.model.ts +++ b/src/chart/model/candle-series.model.ts @@ -162,7 +162,7 @@ export class CandleSeriesModel extends DataSeriesModel { */ recalculateZippedHighLow(): HighLowWithIndex { return (this.zippedHighLow = calculateCandlesHighLow( - this.visualPoints.slice(this.dataIdxStart, this.dataIdxEnd), + this.visualPoints.slice(this.dataIdxStart, this.dataIdxEnd + 1), )); }