Setting visible: false
does not work the way I want it to. Invisible series do not work with autoscaling axes. If you want a series with a tooltip but no line, you can set color: transparent
.
e.g.
{
series: [{
name: '',
lineColor: 'transparent',
type: 'line',
showInLegend: false,
data: [[0, 100]],
dataLabels: {
enabled: false,
},
visible: true,
color: 'transparent'
}]
}