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

210
Views
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
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!