You must be logged in to post your query.
Home › Forums › Chart Support › Number of Labels on the xAxis
Tagged: label, Labels, xaxis
Hi All!
Sorry if this has been posted before as a question, but i couldn’ find it in the support section.
I have 12 months that i want to get information from a database, but when i put it in the chart, it only shows 9 labels on the X-Axis. How can i manually set that i want to show 12 labels, not 9?
Is this possible?
Best Regards, Kristoffer
Kristoffer,
You can achieve this using interval and intervalType. __ Suyash Singh Team CanvasJS
Thank you for your answer Suyash!
Could you please guide me to where i can find the different types of IntervalType?
Best Regards, Kristoffer Frostholm
I can see that it works now, but now all the labels underneath the chart is missing.
They are formatted as Period: 2016-03, 2016-04 and so on, but it does not show up under the chart.
Thank you for your help!
Please refer this page for info on intervalType. Can you kindly create a working jsfiddle, so that we can understand the code better and help you out resolving the issue.
__ Suyash Singh Team CanvasJS
You must be logged in to reply to this topic. Login/Register