app/js/lib/views/graph.coffee in ela-4.1.1 vs app/js/lib/views/graph.coffee in ela-4.1.2
- old
+ new
@@ -262,11 +262,11 @@
xPos = if @xOrigin <= @width/2
(@xOrigin + @width)/2
else
@xOrigin/2
xPos = Math.round(xPos) if @context.pixelRatio is 1
- @context.translate(xPos, yPos + 8)
+ @context.translate(xPos, yPos + 15)
MarkupText.render(@context, @xAxisLabel(), @defaultFont)
@context.restore()
@context.stroke()
@context.closePath()
@@ -310,10 +310,10 @@
yPos = if @yOrigin < @height/2
(@yOrigin + @height)/2
else
@yOrigin/2
yPos = Math.round(yPos) if @context.pixelRatio is 1
- @context.translate(xPos - 8 - 12, yPos);
+ @context.translate(xPos - 15, yPos);
@context.rotate(-Math.PI / 2);
MarkupText.render(@context, @yAxisLabel(), @defaultFont)
@context.restore()
@context.stroke()