Reputation: 5
I am quite new to Rails, and I need to work on a report generating plugin using Rails and Highcharts for the output. My main issue is that my user is meant to be able to define a time range using a jQuery datepicker. How can I get the highcharts graph on the x axis to reflect the time range based on the users selection, and how do I tie it to the other fields in the rails model.
Eg. If I have a table with a created_by
field which the user is supposed to pick his to and from dates from... and the table also has user_id
and the users select a specific language for each application. I want the graph to show for each day the count of the different languages different users selected during their application.
Hope my question is clear enough. Thanks
Upvotes: 0
Views: 3820
Reputation: 115511
You should look at: http://railscasts.com/episodes/223-charts
Upvotes: 4