Reputation: 365
Originally I have the plot border width set as 0 and then later I want to update it as per below. But it doesn't work. The tooltip part works and I believe the attribute is in the correct place.
chart.update({
tooltip: {
enabled: false
},
plotBorderWidth: 1
});
Any help appreciated. Thanks
Upvotes: 0
Views: 257
Reputation: 39069
You need to put plotBorderWidth
property in a chart
object:
chart.update({
tooltip: {
enabled: false
},
chart: {
plotBorderWidth: 1
}
});
Live demo: http://jsfiddle.net/BlackLabel/9pcm0fon/
API Reference: https://api.highcharts.com/highcharts/chart.plotBorderWidth
Upvotes: 1