Home forums Using CanvasJS X axis final label on narrow screens

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 2 months, 3 weeks ago.

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

    Kathy
    Member

    Hello,

    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?

    #15908

    Indranil Deo
    Member

    @mhoward1,

    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.