-
Notifications
You must be signed in to change notification settings - Fork 33
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
Exporting without amcharts #18
Comments
Sure, ensure to serve the 'AmCharts' namespace within the 'window' object before you include the export resources. Once you have all that you are ready to create your export instance and generate the files like following:
|
Thank very much - I'll try it tommorow. You should think of releasing Your plugin as a standalone script - it's great |
That would be nice - I thought this was not possible, as per an earlier question. |
@mg1075 it is still not possible to capture the whole HTML document. Although it's possible to process custom data as mentioned above, since we've exposed the API constructor few versions ago and enhanced the internal data management. Excuse me loosing your subject since I've released that version. @piernik Thanks, let's see what shows up in the feature ;) |
@maertz - For clarification: is it only possible to expert data for a non-amcharts element, or is it also possible to use the plugin to export non-amcharts document elements? E.g., if a person wanted to export part of the page as PDF, PNG, JPG, or SVG, would the plugin make this now possible? |
Only non-amcharts data can be exported through the approach mentioned above. Visual data is not possible (non-amcharts elements), therefore html2canvas might be an option for you. |
This plugin works great and I was wondering weather it can be used as a standalone script for exporting purposes.
Example I have my own table with data and want to export it to csv or excel or even PDF. Can I use this script somehow?
The text was updated successfully, but these errors were encountered: