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

146
Vistas
Chart.js major ticks are not showing while using ticks.source: "labels" on type: "timeseries"

I'm trying to show major ticks on the x-axis while using the type: "timeseries" option, but they are not showing.

My x-axis options:

xAxis: {
          bounds: "ticks",
          grid: {
            display: false,
          },
          type: "time",
          time: {
            unit: "hour",
            stepSize: 3,
            displayFormats: {
              day: "d. MMM",
              hour: "HH:mm",
            },
            tooltipFormat: "EEEE, MMM dd, HH:mm:ss",
          },
          adapters: {
            date: {
              locale: pl,
            },
          },
          ticks: {
            maxTicksLimit: 7.1,
            // source: "labels",
            maxRotation: 0,
            major: {
              enabled: true,
            }
          },
        }

Without ticks.source: "labels" major ticks are showed. How could I make it work with the source: "labels" option

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