I am exporting chart with tooltip. I have a fixed tooltip.
Tooltip is generated in the export based on last clicked point in chart.
Rite now, only the point clicked is highlighted in the export. But I want the crosshair as well to be shown in export, so user can clearly see which point was clicked.
Please find the working fiddle with my functionality.
Https://jsfiddle.net/ntye1aL7/2/
Code:
if (clickedPoint) {
clickedPoint.setState('hover');
}
Above is the code that is pulling up tooltip on export. Can we use anything other than setState(‘hover’), so that crosshair functionality is intact. Would appreciate your input. Thanks.