Highcharts: How Do I Change The Legend Location In The Export Of A Chart?
I'm trying to export a chart to various formats. Although the chart looks okay when rendered by the browser, in the PDF/PNG/JPEG export the legend seems to be overlapping. What set
Solution 1:
Exporting options can be set in chart's configuration: exporting.chartOptions.legend (API: http://api.highcharts.com/highcharts#exporting.chartOptions)
Example: http://jsfiddle.net/w8z1uq9s/
exporting: {
chartOptions: {
legend: {
y: 100,
x: -50
}
}
},
Post a Comment for "Highcharts: How Do I Change The Legend Location In The Export Of A Chart?"