Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

318
Vistas
How to improve the data render performance on chart's on React Native?

I have a line chart from SciChart https://www.scichart.com/ on React Native app. And usually get about 3500 objects from the Rest API for it with the next type:

interface ChartItem {
  time: Data;
  value: number;
}
type ChartData = ChartItem[]

enter image description here

And after when I'm getting the data on the front part, I made some map, because I need to modify the data to ISOString with moment.js https://momentjs.com/ like this:

  public get chartData() {
    return this.data.map((el) => ({
      time: moment(el.date).toISOString(true),
      value: el.value,
    }));
  }

The data from the server comes usually fast, but the render of the chart is very slow. It takes about 15-30 seconds. And moreover it is so slow and luggy for the layout when to change the orientation from the portrait to the landscape mode and back. What do you think guys which the best way to improve the data performance in this situation? How about to decrease the length of the data from the server, and which the best array length would be for the line chart? And maybe to make the data modification on the backend part and send it to the front? Or maybe do you know which way will be more faster for the iteration on the long array?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda