Forum: Ruby on Rails Highcharts dynamically filter data

2cc9feaac138b891ae74e9fa559b34dc?d=identicon&s=25 John Sanderbeck (jsanderbeck)
on 2016-11-11 20:11
I am looking for some guidance for the proper way to do this...

I have a project that I have an index page with a set of charts on it.

At the top of the index page I have a set of drop down boxes to filter
the data in the charts.

What I would like to do is draw all the charts and when a user picks a
filter, just update the data in each chart without redrawing everything.

I assume this is possible but I have not been able to figure it out.
Primarily because of my lack of understanding of AJAX, Highcharts, and

Can anyone show me an example on how to do this?

I basically want the filter to fire an ajax call that then replaces the
data in the already displayed chart.

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.