score:1

Accepted answer

Use a formatter function for tooltip and return false if there is less than two points. Example:

    tooltip: {
        shared: true,
        formatter: function(tooltip) {
            if (this.points.length < 2) {
                return false;
            }

            return tooltip.defaultFormatter.call(this, tooltip);
        }
    }

Live demo: http://jsfiddle.net/BlackLabel/zrse9cdj/

API Reference: https://api.highcharts.com/highcharts/tooltip.formatter


Related Articles