When the axis lineWidth setting is set to an array, use the first item when determining the size of the axis area.
var itemsToDraw = [];
- var axisWidth = me.options.gridLines.lineWidth;
+ var axisWidth = helpers.valueAtIndexOrDefault(me.options.gridLines.lineWidth, 0);
var xTickStart = options.position === 'right' ? me.left : me.right - axisWidth - tl;
var xTickEnd = options.position === 'right' ? me.left + tl : me.right;
var yTickStart = options.position === 'bottom' ? me.top + axisWidth : me.bottom - tl - axisWidth;