-
Notifications
You must be signed in to change notification settings - Fork 100
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
Support for PNG url? #100
Comments
The gem supports adding listeners now, see:
So it could be possible to have the PNG functionality. A convenience helper method can be added to the gem to make that easier too. However you won't be able to directly use it in your email because most (all?) email clients will not allow JavaScript to run, and hence it's not possible to just use the chart functionality directly in emails. It will be a two step process where you need to get the URLs manually before putting them in emails. Hope this answers? |
any news? if you could directly turn the chart in PNG, I could add the image to a pdf file ( with Prawn ) or other type of file that does not support javascript |
I ended up using Google's deprecated image charts: https://developers.google.com/chart/image/ |
Ok but if I want convert the Gantt chart or Timeline chart into png? |
Does this gem support the png printing functionality?
https://developers.google.com/chart/interactive/docs/printing
I would like to just get the URL of a chart to stick into an email.
The text was updated successfully, but these errors were encountered: