You can add extraparamter for drilldown object,
Example: http://jsfiddle.net/BujyF/
drilldown: {
name: 'Firefox versions',
categories: ['Firefox 2.0', 'Firefox 3.0', 'Firefox 3.5', 'Firefox 3.6', 'Firefox 4.0'],
enabledLabels:false,
data: [0.20, 0.83, 1.58, 13.12, 5.43],
color: colors[1]
}
modify setChart() function to add this param to series.
function setChart(name, categories, data, color,labels) {
chart.xAxis[0].setCategories(categories, false);
chart.series[0].remove(false);
chart.addSeries({
name: name,
data: data,
enabledLabels:labels,
color: color || 'white'
}, false);
chart.redraw();
}
Then use formatter (for labels) http://api.highcharts.com/highcharts#xAxis.labels.formatter to check if labels should be displayed or not.
xAxis: {
categories: categories,
labels:{
formatter:function(){
if(!this.axis.series[0].options.enabledLabels && this.axis.series[0].options.enabledLabels!=undefined)
{
return null;
}
else
{
return this.value;
}
}
}
},