score:2

Accepted answer

Use the setOptions function and pass in a javascript object of the options you'd like to set globally for highcharts. Then, every chart you make will use those options. It's just that simple.

For example:

Highcharts.setOptions({
    legend: { layout: 'vertical', align: 'right', width: 200 }
});

Now every chart will have that legend style.


Related Query

More Query from same tag