Home Forums Chart Support Show All Label

Show All Label

Viewing 2 posts - 1 through 2 (of 2 total)
  • #9152

    I have a column chart with like 20+ different columns but its only displaying the labels along the X axis for like 5 of them. Is there any way I can force CanvasJS to display all 20 labels?

    Thanks
    Jason

    • This topic was modified 5 years, 10 months ago by bluesky.
    #9182

    bluesky,

    Chart skips some of the labels to avoid overlapping. But you can force it to show all labels by setting interval property of axisX to 1. Below is the code snippet –

    axisX:{
       interval: 1
    }

    Please take a look at this JSFiddle for a working example.

    displaying all labels on axis

    __
    Anjali

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

You must be logged in to reply to this topic.