Home › forums › Using CanvasJS › X axis final label on narrow screens
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 2 months, 3 weeks ago.
My employers are concerned that on narrow screens the final date label on X axis is not that of latest month of data.
Is there a way to be sure that given this example http://jsfiddle.net/hrm2gvkc/ the most current month in the data’s label will always be visible?
If you want to display the latest month, you can set intervalType to month and interval to 1 in axisXOption. This will display all the months by default, thus, displaying the latest month as well.
Please check the updated jsFiddle.
You must be logged in to reply to this topic.