Home forums Using CanvasJS MVC 5 Pie Chart OnClick Event

This topic contains 1 reply, has 2 voices, and was last updated by  Shashi Ranjan 3 weeks, 2 days ago.

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

    Hello,

    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?

    #24512

    @afreay,

    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.

    ____
    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.