Skip to content

Commit

Permalink
Pull request #5338: [DXCF-5638] Chart - High and Low labels are not c…
Browse files Browse the repository at this point in the history
…alculated for the last candle

Merge in DXCHARTS/dxchart5 from feature/DXCF-5638-chart-high-and-low-labels-are-not-calculated-for-the-last-candle to master

* commit 'dbda986131c3f3139ef2e5784bff9fd3a44c3ad8':
  [DXCF-5638] Chart - High and Low labels are not calculated for the last candle

GitOrigin-RevId: eca2940993a93f9b6f28a2b53280a15f285f5636
  • Loading branch information
artskar authored and dxcity committed Nov 19, 2024
1 parent a24c357 commit 8f35039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/model/candle-series.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class CandleSeriesModel extends DataSeriesModel<Candle, VisualCandle> {
*/
recalculateZippedHighLow(): HighLowWithIndex {
return (this.zippedHighLow = calculateCandlesHighLow(
this.visualPoints.slice(this.dataIdxStart, this.dataIdxEnd),
this.visualPoints.slice(this.dataIdxStart, this.dataIdxEnd + 1),
));
}

Expand Down

0 comments on commit 8f35039

Please sign in to comment.