Home forums Chart Support Index Labels not aligning with Datapoint Dates

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

    I have a ranged column report with a column for Year Quarters – 1-Oct-2019, 1-Jan-2020, 1-Apr-2020, 1-Jul-2020

    The chart adds the columns correctly but adds Index Labels at Nov-2019, Feb-2020, May-2020, Aug-2020

    How can I get the Index Labels to align with the datapoints?

    JSFiddle – https://jsfiddle.net/mrDavid/syw215j3/22/

    thanks

    #29789

    @mrdavid,

    Axis labels are shown at every interval, which is auto-calculated such that the labels don’t overlap and make chart look better. Labels are not shown for dataPoint but at every interval of axis. You can customize it to show labels at every dataPoint value by setting label property in dataPoint instead of x-value.

    ___________
    Indranil Deo
    Team CanvasJS

    #29830

    works well, thankyou

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

You must be logged in to reply to this topic.