Chart.js
Chart.js copied to clipboard
Drawing horizontal lines
Small issue (Chart.Core.js): started at line 1630:
if(drawHorizontalLine){
ctx.moveTo(xStart, linePositionY);
ctx.lineTo(this.width, linePositionY);
ctx.stroke();
ctx.closePath();
}
is not using right padding, better:
if(drawHorizontalLine){
ctx.moveTo(xStart, linePositionY);
ctx.lineTo(this.width-this.xScalePaddingRight, linePositionY);
ctx.stroke();
ctx.closePath();
}
i started to write bar+line chart with two y scales and this issue is neccessary to be fixed
Duplicate of #511