michelson / lazy_high_charts

Make highcharts a la ruby , works in rails 5.X / 4.X / 3.X, and other ruby web frameworks

Home Page:http://www.suipit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

antripat opened this issue · comments

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