Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

217
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda