xValue += helpers.aliasPixel(this.ctx.lineWidth);
// Draw the label area
- if (this.options.gridLines.drawTicks) {
- this.ctx.beginPath();
+ this.ctx.beginPath();
+
+ if (this.options.gridLines.drawTicks) {
this.ctx.moveTo(xValue, yTickStart);
this.ctx.lineTo(xValue, yTickEnd);
}
yValue += helpers.aliasPixel(this.ctx.lineWidth);
// Draw the label area
+ this.ctx.beginPath();
+
if (this.options.gridLines.drawTicks) {
- this.ctx.beginPath();
this.ctx.moveTo(xTickStart, yValue);
this.ctx.lineTo(xTickEnd, yValue);
}