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

147
Views
Highcharts x-range datetime no se muestra con "Date.UTC(2023, 6, 20)"

Estoy usando Highcharts x-range para mostrar datos en el rango de fechas. el gráfico no se muestra con comillas "" para la fecha de inicio (x) y la fecha de finalización (x2).

 "x": "Date.UTC(2018, 8, 18)", "x2": "Date.UTC(2023, 6, 20)",

Código de muestra agregado en JS fiddle https://jsfiddle.net/w1b6atc8/

no hubo suerte con Date.parse.

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

0

En la notación:

 "x": "Date.UTC(2018, 8, 18)", "x2": "Date.UTC(2023, 6, 20)",

los valores para x y x2 son solo cadenas. Debe proporcionar fechas como marcas de tiempo de milisegundos.

 "x": Date.UTC(2018, 8, 18), "x2": Date.UTC(2023, 6, 20),

Demostración en vivo: https://jsfiddle.net/BlackLabel/9721csob/

Referencia de la API: https://api.highcharts.com/highcharts/series.xrange.data

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!