score:1

Accepted answer

If you don't use styled mode, styles from CSS classes will not be applied on an exported chart. Use backgroundColor property instead:

chart: {
  backgroundColor: 'red'
}

Live demo: http://jsfiddle.net/tsjmkrbw/

Docs: https://www.highcharts.com/docs/chart-design-and-style/style-by-css

API Reference:

https://api.highcharts.com/highcharts/chart.styledMode

https://api.highcharts.com/highcharts/chart.backgroundColor


Related Query

More Query from same tag