How to modify the fill color of the picture made by highcharts. Figure 1 becomes the background color of figure 2.

Mar.20,2021

https://codepen.io/caocong/pe.
just add this

Highcharts.getOptions().colors = Highcharts.map(Highcharts.getOptions().colors, color => ({
  linearGradient: { x1: 0, y1: 0, x2: 1, y2: 0 },
  stops: [[0, "-sharpfde1d8"], [1, "-sharpfef75e"]]
}))
Menu