Home forums Using CanvasJS How to add 12 months in column chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26865

    I got column chart code from canvasjs, I need to add 12 columns for 12 months. but when add 12 column it show one after another column name (january, march, may). when remove one column it show consecutive months name.

    #26870

    @hpriyalal,

    Labels are shown at every interval of the axis. To avoid overlapping, chart skips alternative labels which can be overridden by setting interval property. Incase of date-time axis, you may need to set intervalType along with interval according to your data, please refer documentation for more info and live examples.

    If this doesn’t solve the issue you are facing, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.