score:2

Accepted answer

your tooltip definition is fine, but it is in the wrong place. try putting it at the same level as plotoptions instead of inside.

      tooltip: {
        crosshairs: true,
         formatter: function(){
           // this function doesnt run ??????????
           return '<b>'+ this.series.name +'</b><br/>'+
           highcharts.dateformat('%e %b', this.x) +': '+ highcharts.dateformat('%h %m', this.y) ;
         }

        // headerformat: '<b>{series.name}</b><br>',
        // pointformat: 'day {point.x},  time: {point.y}'
      },

http://jsfiddle.net/jpmnf/


Related Query