Charts cannot be exported as images if there is no Internet connection
No description provided.
Comments (14)
-
reporter -
Does this indicate that data is leaving the network? I hope not!
-
reporter I had assumed that the production of chart image files was all done locally. However, that is not the case. The images are created via http://export.highcharts.com/. I realised this earlier today, as I needed to export a chart whilst completely disconnected from any network. The terms of use for the export server are here:
http://www.highcharts.com/docs/export-module/terms
I'll look at how we can disable the use of the export server and force the use of local export.
-
reporter We can set http://api.highcharts.com/highcharts#exporting.fallbackToExportServer to false to prevent the use of the export server.
-
But this will also prevent rendering, unless the user has a local server setup and configured.
I guess we need to make it clear how the charts are produced/what data is sent, link to the privacy disclaimer, make it easy to disable enable, and link to the setting up of a local server if the user is interested.
What do you think?
-
reporter The chart images will still work when you're offline with the new code I've written. Can't commit it now as I don't have an Internet connection on my laptop.
-
Oh OK. Wonderful. Is that for all formats? Or just some?
-
reporter It'll just allow PNG and svg export. It uses the offline-exporting JavaScript module (http://www.highcharts.com/docs/export-module/client-side-export)
-
reporter - changed status to resolved
Exporting charts as an image when offline is now possible. Fixes issue
#346→ <<cset 06644bebb992>>
-
reporter Swapped JavaScript loading order to ensure that export to csv and xls are still present on charts. References issue
#346→ <<cset 6ba212cac154>>
-
reporter Forcing charts to use local production of chart image export. References issue
#346. All charts now use local export, whether the user has access to the internet or not.→ <<cset f5f01d7315b8>>
-
reporter Exporting charts as an image when offline is now possible. Fixes issue
#346→ <<cset 06644bebb992>>
-
reporter Swapped JavaScript loading order to ensure that export to csv and xls are still present on charts. References issue
#346→ <<cset 6ba212cac154>>
-
reporter Forcing charts to use local production of chart image export. References issue
#346→ <<cset f5f01d7315b8>>
- Log in to comment
I've already fixed this. Commit to follow.