Home › forums › Using CanvasJS › MVC 5 Pie Chart OnClick Event
Tagged: chart, error, event, graph, MVC, onclick, pie
This topic contains 1 reply, has 2 voices, and was last updated by Shashi Ranjan 5 months, 3 weeks ago.
I am new to CanvasJS and I was curious how to create an onClick event to where it would link to another view or another chart. I have looked at the examples where they provide the drilldown chart, however I feel as though it is more complicated than I thought. Does anyone have a tutorial or explaination as to how I can make a simple onclick?
You can create a drilldown chart by changing the dataPoints of the chart when a dataSeries is clicked. Please take a look at this JSFiddle for an example on the same.
You must be logged in to reply to this topic.