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

84
Vistas
chartjs time axis change functionality

The horizontal axis in my chartjs line graph shows time. Currently the time axis is just a series of months in the style of "Jan 21","Feb 21","Mar 21" etc. This looks fine when looking over the period of a year or 2, but I am building the graph such that users should be able to change the number of years. The users should be able to shift between a vew with 1 year, 3 years or 10 years. When I shift to a longer time period it should be nice if the period labelling switched to show full years instead. Does there exist some kind of nice date formatting functionality that can figure out if months or years are more appropriate to view and shift automatically?

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