Home forums Using CanvasJS Incorrect label displayed for quarter of the year

This topic contains 18 replies, has 4 voices, and was last updated by  Vishwas R 1 year ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #19400

    Vishwas R
    Keymaster

    Ravneet,

    Labels / Quarters depends on the dataPoints. If the dataPoint values starts from 4th quarter 2016, labels also start showing from Q4’16 whereas if dataPoint starts from Jan 2017, labels also starts from Q1’17. Please check this updated jsfiddle.

    —-
    Vishwas R
    Team CanvasJS

    #19614

    Ravneet03
    Member

    Vishwas,
    In that case Q2’16 label should be displayed at start of April 16, but as per the above fiddle April 16 is displayed in Q1’16-Q2’16. Q2’16 is displayed at 01 May2016.

    Thanks,
    Ravneet

    #19649

    Ravneet03
    Member

    Guys,
    Any update on this.?

    Thanks,
    Ravneet

    #19650

    Vishwas R
    Keymaster

    Ravneet,

    In the previous jsfiddle labels were being shown to the end of the quarter, however you can change that behavior to show in the beginning of every quarter by changing interval according to your requirement. Please take a look at this updated jsfiddle.


    Vishwas R
    Team CanvasJS

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.