As the subject suggests, I have a chart with multiple y-axis. When I use the tooltip formatter and accessing `this.points` it only provides one axis.
This is my formatter:
Code: Select all
formatter: function () {
let s = '<b>' + Highcharts.dateFormat('%A, %e %b, %Y %H:%M', this.x) + '</b>'
this.points.forEach(point => {
var series = `<strong>${point.series.name}</strong><br/>${series} ${point.y.toFixed(2)}`
})
return s
},
I notice the instance is passed to the formatter and I could dig through instance.chart.series[x].points but it feels long and inefficient way round, I've scoured the docs and stackoverflow and haven't seen this come up before.
Thanks in advance for any help
Will