Reputation: 133
I was wondering if it is possible to change the lineWidth of a Serie in Highcharts dynamically using a external button for example. I have been reading all documentation, but I'm afraid this functionality is not available.
Thanks & regards!
Upvotes: 2
Views: 3769
Reputation: 39
Specify 'lineWidth'. Try this-
series: [{
name: '',
color: '#ffe8d0',
data: [7.0, 16.9, 19.5, 24.5, 38.2, 41.5, 55.2, 66.5],
lineWidth: 7,
},]
Upvotes: 1
Reputation: 1129
Yes, you can.
Using this property you can set the line width. Just make a button change the options and call chart.redraw()
If you want to change only one of the series, do like this
Upvotes: 1