Skip to content

How to call a controller method when a bar is clicked on a chart? #243

@antripat

Description

@antripat

Hi.
I referred to your clickable bar chart wiki. The explanation does not suffice my requirement and I would need further help.
My desired output
Bar chart renders on the browser. User clicks a particular bar which calls a function in the controller and takes an action. I want to know how to link the controller method with the onclick event of the bar chart.

Thanks,
Anant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions