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

220
Vistas
How can I daw the exact Xaxis in jqplot chart?

Firstly I want darw the below chart.

enter image description here

and I draw my chart like this enter image description here

the Xaxis is the problem. I want to locate Xaxis tick in exact position. I tried to control the 'numberTicks', 'ticks', 'tickInterval' but is wasn't worked. For example, If i change the tickInterval like this tickInterval = 10, it worked. but if tickInterval > 10, it doesn't worked.

here's my code. Thank you.

xaxis:{
            let timeFormat = 'MM/DD HH:mm';
            labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
            labelOptions: {
                fontSize: '11pt',
            },
            min: min,
            max: min + Range * Sequence,
            tickInterval: 1,
            tickOptions: {
                showMark: false,

                fontSize: '11px',
                showGridline: false,
                formatter: (pattern: any, val: number) => {
                    return moment(min).format(timeFormat).replace(' ', '<br>') + "~" +
                        moment(chamberSequence + min).format(timeFormat).replace(' ', '<br>');
                },
            },
            rendererOptions: {
                dataType: 'index',
            },
}
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