Is it possible to use Highcharts Export Module?
I use WF's to setup my highcharts definitions before rendering the chart in web. The export functionality in highcharts is a simple param on the chart definition but also requires the module to be included with a script tag.
From quick testing - just using the export param on the chart definition - it does not seem the export scripts are included with web's highcharts deployment.
If not possible now I can add it to the idea tracker.
Is it possible to include the needed scripts using any of the SDK's - web or workflow?
-
Hi Andrew?,
Geocortex Web 5.10 or later, you can include Highcharts Export Module into Web by adding the module names within our "chart" model. This can only be done manually by directly editing your app JSON.
e.g
{ "$type": "chart", "title": "title", "highchartsModules": [ "exporting", "export-data", "highcharts-more", "dumbbell", "lollipop" ], "template": { ... }Cheers,
Pairin
0 -
Pairin, thanks for getting back! I've added the highchartsModules to my app config under my charts model. I can see the highcharts exporting.js and export-data.js modules being loaded during my app init but no exporting option on my chart. Chart def has exporting:{enabled:true} also. Not a top priority but would be cool to figure out.
0 -
Hi Andrew,
Would it be possible for you to share your app config JSON with the charts model?
You can share them to pairin.mason@vertigis.com
Cheers,
Pairin
0 -
Hi Andrew,
The following chart configuration will enable the exporting button on chart in Web,
"exporting": { "buttons": { "contextButton": { "enabled": true } } },However, we run into an issue around exported chart image doesn't display properly. We have a ticket filed for further investigation.
Thank you for sharing your app with us.
Cheers,
Pairin
1 -
That did the trick! Seems the highcharts export functionality is a bit hit or miss besides csv export. Ended up removing from my chart and handling it in a WF but good to know the functionality is there. Thank you.
1
Please sign in to leave a comment.
Comments
5 comments