ctx.save();
for (i = 0; i < this.selPoints_.length; i++) {
var pt = this.selPoints_[i];
- if (isNaN(pt.canvasy) || pt.canvasy === null || pt.canvasy === undefined) continue;
+ if (isNaN(pt.canvasy)) 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) || isNaN(pt.canvasy) || pt.canvasy === null || pt.canvasy === undefined) {
+ if ((pt.yval === 0 && !showZeros) || isNaN(pt.canvasy)) {
seriesData.isVisible = false;
continue;
}