Home forums Feature Requests & Feedback on button /legend switch

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 months, 1 week ago.

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

    deepa
    Member

    Hi canvas developer i want that on button/legend switch like legends(daily,weekly ,quarterly) x-axis labels should change accordingly in line chart.yearly then x-axis should contain 2018 2017 and monthly then jan mar apr. Is it possible to do so?

    #21032

    Vishwas R
    Keymaster

    Deepa,

    You can achieve this by changing axis minimum and maximum according to the button being clicked. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.