New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLs as data don't work #14
Comments
To keep things simple, AJAX requests only work with: <%= line_chart statistics_path(key: "persons", subkey: "total") %> The endpoint can return: render json: {name: "Total", data: chart_data} This equates to 1 AJAX requests per chart. Otherwise, for multiple series, there could be multiple AJAX requests, which (IMHO) adds unnecessary complexity. |
Very true, I'm happy with this. On Thu, May 23, 2013 at 12:40 AM, Andrew Kane notifications@github.comwrote:
Kurtis Rainbolt-Greene, Hacker |
Cool. |
Produces a chart, but never hits the url.
The text was updated successfully, but these errors were encountered: