Home forums Using CanvasJS Switch length of X-Axis

This topic contains 2 replies, has 2 voices, and was last updated by  James 3 months, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18362

    James
    Member

    I have a chart with about 300 data lines (days)
    Is there a way to switch from days to weeks and/or months or the possibility to enter a “start date” and “end date” for the user?

    Thanks!

    #18363

    Vishwas R
    Keymaster

    James,

    You can achieve this by changing axis minimum and maximum based on selected range like weeks or months etc. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    #18366

    James
    Member

    Great!! Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.