The check for `utils.isOK` blacklists the value 0. In the context of
validating selected points and reporting them in the legend, any point
where canvas-y zero should be included.
ctx.save();
for (i = 0; i < this.selPoints_.length; i++) {
var pt = this.selPoints_[i];
- if (!utils.isOK(pt.canvasy)) continue;
+ if (isNaN(pt.canvasy) || pt.canvasy === null) continue;
var circleSize = this.getNumericOption('highlightCircleSize', pt.name);
var callback = this.getFunctionOption("drawHighlightPointCallback", pt.name);
var seriesData = labelToSeries[pt.name];
seriesData.y = pt.yval;
- if ((pt.yval === 0 && !showZeros) || !utils.isOK(pt.canvasy)) {
+ if ((pt.yval === 0 && !showZeros) || isNaN(pt.canvasy) || pt.canvasy === null) {
seriesData.isVisible = false;
continue;
}