Home forums Using CanvasJS Load new chart on clicking of a chart

This topic contains 3 replies, has 2 voices, and was last updated by  Priyanka M S 2 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22477

    harish310389
    Member

    I need to load a new chart in the web as soon as I click on the Chart data? Kind of a drill down but in a different chart. Do we have an option using canvas js? Please help.

    #22483

    Priyanka M S
    Member

    @harish310389,

    Please take a look at this sample dashboard where clicking on any bubble in first chart updates the charts below it with its corresponding data. You can download sample dashboards from our Download Page.

    __
    Priyanka M S
    Team CanvasJS

    #22486

    harish310389
    Member

    Thanks for sending this Priyanka. Where can refer the code base for the bubble click chart? The download page doesn’t contain an example that I am looking for.

    Please help.

    Regards,
    Harish J

    #22500

    Priyanka M S
    Member

    Harish,

    Once you download economic-trends dashboard, extract the zip file to the required location.
    Please find the economy-dashboard.js file in assets > economy-dashboard > economy-dashboard.js path for the code to click the bubble and update the other charts accordingly.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.