Home › forums › Using CanvasJS › How to add 12 months in column chart
Tagged: Column Chart, months name
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 month ago.
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.
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.
You must be logged in to reply to this topic.