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 1 year, 5 months ago.

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



    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?


    Indranil Deo


    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.

    Indranil Deo,
    Team CavasJS

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

You must be logged in to reply to this topic.