Forum: Ruby on Rails Highcharts dynamically filter data

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1bc9e5fb99769fe467712189ec2cf1bc?d=identicon&s=25 John S. (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.

This topic is locked and can not be replied to.