You must be logged in to post your query.
Home › Forums › Feature Requests & Feedback › on button /legend switch
Tagged: line chart
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?
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
You must be logged in to reply to this topic. Login/Register