Feature request : create data URIs to get charts as PNG images
Opened this issue · 1 comments
psoares commented
Hi,
Most of the google charts have a getImageURI() method that allows the retrieval of a PNG image encoded as data:image/ URI. See https://developers.google.com/chart/interactive/docs/printing
It would be nice if the tags in the taglib could have an attribute like "data-uri=true" that would produce the URI string instead of generating the graph itself.
That would allow for example to embed a graph in an email. Sorry if the plugin already does this but I didn't find anything mentioning it in the documentation.
aruizca commented
I will have a look when I have the time. BTW PRs are welcome! :-)