Highcharts - export, setting data parameters

I am using Highcharts 2.3.5. In the "exporting" object under "chartOptions" I can change some things when exporting, for example, the background color on the chart, but I could not turn on dataLabels or change the size of the marker.

Here is an example of what works and doesn't work. In this case, when exporting, I want to change the background color (which works) and make sure that the data labels are displayed (which does not work): ...

exporting : { chartOptions : { chart: { backgroundColor: '#ff0000'}, //this works plotOptions: { pie : { dataLabels: {enabled: true} //this one doesn't work } } }... 

Am I missing something obvious? J

+4
source share
1 answer
 $('#container1').highcharts({ exporting: { chartOptions: { // specific options for the exported image plotOptions: { series: { dataLabels: { enabled: true } } } }, scale: 3, fallbackToExportServer: false }, 
0
source

All Articles