score:2

Accepted answer

DEMO

You need to add this code to make x-axis label clickable with formatting (underline):

(function (H) {
        //For X-axis labels
        H.wrap(H.Point.prototype, 'init', function (proceed, series, options, x) {
            var point = proceed.call(this, series, options, x),
                chart = series.chart,
                tick = series.xAxis && series.xAxis.ticks[x],
                tickLabel = tick && tick.label;
            //console.log("series");
            //console.log(series);
            console.log("Point = ");
            console.log(point);

            if (point.drilldown) {

                if (tickLabel) {
                    if (!tickLabel._basicStyle) {
                        tickLabel._basicStyle = tickLabel.element.getAttribute('style');
                    }
                    tickLabel.addClass('highcharts-drilldown-axis-label').css({
                        'text-decoration': 'underline',
                        'font-weight': 'normal',
                        'cursor': 'pointer',
                        'color':'brown'
                        }).on('click', function (){
                        //alert('clicked');
                        //point.doDrilldown();  
                                                                                                      point.firePointEvent('click');

                        }); 
                }
            } 
            else if (tickLabel && tickLabel._basicStyle) 
            {
            }

            return point;
        });
    })(Highcharts);

Related Query