Home › forums › Feature Requests & Feedback › on button /legend switch
Tagged: line chart
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 week, 3 days ago.
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?
You can achieve this by changing axis minimum and maximum according to the button being clicked. Please take a look at this jsfiddle.
You must be logged in to reply to this topic.