Reputation: 447
I have a column graph in highcharts and I want to be about to click on a single column and it stay highlighted until I click it again.
This will make the column highlight but I still need the background to do the same:
this.chart.series[0].data[0].setState('hover')
Upvotes: 0
Views: 180
Reputation: 4769
Just use
plotOptions: {
series: {
cursor: 'pointer',
allowPointSelect:true,
}
}
It will do the desired.
Demo fiddle here
Upvotes: 2