diff --git a/js/plugins/selection.js b/js/plugins/selection.js index 33aab275..a3850865 100644 --- a/js/plugins/selection.js +++ b/js/plugins/selection.js @@ -14,7 +14,7 @@ function isLeftClick (e, type) { } function boundX(x, graph) { - return Math.min(Math.max(0, x), graph.plotWidth - 1); + return Math.min(Math.max(0, x), graph.plotWidth); } function boundY(y, graph) {