Home Forums Chart Support tooltip for stripline Reply To: tooltip for stripline

#45775

@scompliance,

Tooltip for stripline is not available as of now. In the current case of zooming / panning, the solution shared earlier can be improved further by checking if the current-mouse coordinate is within the plotarea bounds or not along with existing conditions as shown in the code-snippet below.

xPos >= stripLine.chart.plotArea.x1 && xPos <= stripLine.chart.plotArea.x2 && yPos >= stripLine.chart.plotArea.y1 && yPos <= stripLine.chart.plotArea.y2

Please take a look at this updated Stackblitz for working code.


Vishwas R
Team CanvasJS