Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
Is there a way to disable Candlestick aggregation in lightningchart js

I am trying to make an application for stocks with lightningchart js. I tried to put 30 days of 1-minute data into the chart but it is aggregating candles.

This is my code

const { lightningChart, emptyFill, OHLCFigures } = lcjs;

const chart = lightningChart().ChartXY({ container: document.getElementById('chart-root') })
const ohlcDataArr = []; // contains 30 days 1-min data [date, open, high, low, close values]
const series = chart
            .addOHLCSeries({ positiveFigure: OHLCFigures.Candlestick })
            .add(ohlcDataArr);
chart.getDefaultAxisX().fit();
chart.getDefaultAxisY().fit();

Only about 40 or 50 candles are shown but should be 43,000?

Is there a way to turn off candlestick chart aggregation?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

To disable the aggregation call ohlcSeries.setFigureAutoFitting(false).

const { lightningChart, emptyFill, OHLCFigures } = lcjs;

const chart = lightningChart().ChartXY({ container: document.getElementById('chart-root') })
const ohlcDataArr = []; // contains 30 days 1-min data [date, open, high, low, close values]
const series = chart
            .addOHLCSeries({ positiveFigure: OHLCFigures.Candlestick })
            .setFigureAutoFitting(false)
            .add(ohlcDataArr);
chart.getDefaultAxisX().fit();
chart.getDefaultAxisY().fit();
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!