We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec60f2 commit d7da5c5Copy full SHA for d7da5c5
src/core/core.scale.js
@@ -708,7 +708,7 @@ module.exports = Element.extend({
708
709
var itemsToDraw = [];
710
711
- var axisWidth = me.options.gridLines.lineWidth;
+ var axisWidth = helpers.valueAtIndexOrDefault(me.options.gridLines.lineWidth, 0);
712
var xTickStart = options.position === 'right' ? me.left : me.right - axisWidth - tl;
713
var xTickEnd = options.position === 'right' ? me.left + tl : me.right;
714
var yTickStart = options.position === 'bottom' ? me.top + axisWidth : me.bottom - tl - axisWidth;
0 commit comments