Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

93
Visualizações
How do I update chart with new data in TradingView Lightweight charts

I am currently displaying an areaseries chart on a php page. The data gets populated during the initial page load which I fetch from database. Now I want to update the chart with duration, say for 1 week, 1 year etc. Couldn't find in the documentation as to how to delete the series or reload the chart with new data. I scoured the docs and github links but couldn't find what I was looking for.

Any pointers please.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

if you use tradingview lightweight-charts library, you can use .update for example :

lineSeries.update(data)
candleSeries.update(data)
areaSeries.update(data)

The format of the data dictionary datas must be the same as the one you set them

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda