Reputation: 189
I am using following code to change the bordercolor of series, but it's not working out.
chart.options.plotOptions.series.borderWidth = '3px';
chart.options.plotOptions.series.borderColor = '#FF0000';
Can anyone please suggest? Thanks.
Upvotes: 3
Views: 3650
Reputation: 4776
you can use series.update() method as shown below, this method updates the options and data for the series. You have to run this method with each and every method to get the settings applied to all the series
chart.series[0].update({
borderWidth: 3,
borderColor: '#FF0000'
})
Updated your js fiddle here
I hope this is the solution you are looking for.
Upvotes: 8