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

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