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

282
Vistas
How to compare to array of chart?

Basically, I know how to sort date in array, so I know that it is possible to compare it. But my question is more complex. I have two array and in some cases it can be that one cross each other, and in some it doesn't My question is how to write dynamic analytic info under this chart in case it cross each other, and in case it does not.

      useMemo(() => {
      for(var i = 0; i<25; i++){
      if(datasetone[I]>datasetwo[i]){return setText(true)}
      if(datasetone[i]< datasetwo[i]) {return setText(false);
        setRoznica(datasetone[24] - datasetwo[24]);
      }
    }
  }, [datasetone, datasetwo]);

because I know that situation on chart that one is higher then another can happen just one, I want loop through all element of dataset and in case one is higher write statement.

and second quastion is WHEN it happen, you know .flirt or .find which index of dataset is moment of being higher then second one.

This is important because people in my country do not know how to analytic a chart so I can write statement if something happen to tell them.

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