Home forums Using CanvasJS Displaying x-labels on stacked bar

Tagged: 

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

    Hi,

    Please have a look on my fiddle.
    When there are more than 11 values on x-axis, the labels are showing in alternative fashion whereas if there are only upto 11 values, all x labels display smoothly. What might be the reason for this?
    JsFiddle

    #27609

    Samyukta,

    Labels are shown at every interval of the axis. In some cases, alternate labels are skipped to avoid overlapping of labels. Setting interval to 1 should work fine in your case. Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

    #27622

    Thank you Vishwas R, it works fine now.

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

You must be logged in to reply to this topic.