Problem:
I am trying to get the index of the hovered lineX column, seems like there is a way to access that when setting the adapter on the series rather than lineX, sadly target.tooltipDataItem and target.dataItem are both undefined here, not sure how to access that :(
Goal:
I created an "XYChart" with multiple series, the idea that I want to be able to show 1 tooltip for all series when a user hovers over a specific column, so the text in the tooltip will change from one column to another, and taking into account that not all series need to have a value in a specific column, if it did, it would be a piece of cake to insert the tooltip adapter only on the first item in the series.
/**/
chart.cursor.lineX.adapter.add("tooltipHTML", function(text, target){ console.log("index?"); });
/**/