diff --git a/graphy.js b/graphy.js index 76ca3d9..f2377b3 100644 --- a/graphy.js +++ b/graphy.js @@ -2035,7 +2035,7 @@ Graphy.renderers = { if ( action == "measure" ) { graphRect.bottom = $canvas.height() - 24 - ( graph.xUnits().length ? 20 : 0 ); - graphRect.right = $canvas.width() - 14; + graphRect.right = $canvas.width(); } else { var numberOfLabels = Math.max( Math.floor( ( graphRect.right - graphRect.left ) / 72 ) + 1, 2 ); Graphy.renderers.axis.xValueLabels( numberOfLabels, 0, graphRect.bottom + 10, "graphy_axis_line_x_value_label", "center", graph ); @@ -2058,7 +2058,7 @@ Graphy.renderers = { if ( action == "measure" ) { graphRect.bottom = $canvas.height() - 24 - ( graph.xUnits().length ? 20 : 0 ); - graphRect.right = $canvas.width() - 14; + graphRect.right = $canvas.width(); } else { ctx.save();