Reputation: 31
I was wondering how I can change font and font weight when I double click the one of the legend items
function(chart){
$.each(chart.series, function(i, serie){
$(serie.legendItem.element).bind('dblclick', function(){
selectedSerie = serie.index;
// -----HERE------
chart.legend.allItems[selectedSerie].update({fontWeight: 'bold'
});
})
})
here is it in fiddler row 160
Upvotes: 1
Views: 811
Reputation: 37588
Unforntaltey this option is not possible, because border will be not adapted.
Upvotes: 1