Home › forums › Using CanvasJS › MVC 5 Pie Chart OnClick Event
Tagged: chart, error, event, graph, MVC, onclick, pie
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.