@scompliance,
Checking if the startValue & endValue lies within the axis range should work fine in this case. Please find the code-snippet for the same below.
stripLine.startValue < stripLine.chart.axisX[0].viewportMaximum && stripLine.endValue > stripLine.chart.axisX[0].viewportMinimum
Please take a look at this updated Stackblitz for working code.
—
Vishwas R
Team CanvasJS