Bail out, same as the x axis

This commit is contained in:
Evert Timberg 2015-11-11 21:40:29 -05:00
parent fff13f2692
commit 14b6fdd51e

View File

@ -467,6 +467,11 @@
var xTickEnd = this.options.position == "right" ? this.left + 5 : this.right;
helpers.each(this.ticks, function(label, index) {
// If the callback returned a null or undefined value, do not draw this line
if (label === undefined || label === null) {
return;
}
var yLineValue = this.getPixelForTick(index); // xvalues for grid lines
if (this.options.gridLines.show) {