Exported image in SVG format looks ok, but labels in PNG, JPEG or PDF format images are cropped. marginRight, marginLeft, width, sourceWidth changes make no sense.
This is my chart Chart
You're using a bit old version of Highcharts, so first, please update it at least to v4.1.8
. Then, please try to set options below within your chart configuration object:
Enable html support for exporting:
exporting: {
allowHTML: true
}
and switch on the useHTML
on the xAxis.labels
:
xAxis: {
labels: {
useHTML: true
}
}
API Reference: