0

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 setting should I change/add to change the position of the legend?

enter image description here

1 Answer 1

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
                }
            }
        },

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.