score:1

Accepted answer

this.series contains a reference to the chart object, which in turn has a reference to the chart.series array.

    tooltip: {
        formatter: function() {
            var arrayOfSeries = this.series.chart.series;
            console.log(arrayOfSeries); // doing something with all the series!
        }
    },

Fiddle here.

score:1

According to formatter, you can reference to the series object via this.series. So for the total number of points in the series, you can try

tooltip: {
    formatter: function() {
        return this.series.data.length;
    }
},

It seems shared tooltip doesn't work on scatter, https://github.com/highslide-software/highcharts.com/issues/1431. So I don't know how to reference another series. Otherwise you can use this.points[i].series.


Related Query

More Query from same tag