diff --git a/TODO b/TODO index 81f8eb9..0d429bf 100644 --- a/TODO +++ b/TODO @@ -9,7 +9,6 @@ handling time data grid configuration - how ticks look like - - (handling of 1/2 linewidth hack in grid?) selection - user should be able to cancel selection with escape diff --git a/jquery.flot.js b/jquery.flot.js index 9a60153..571ff49 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -434,7 +434,7 @@ ctx.lineWidth = 2; ctx.strokeStyle = options.grid.color; ctx.lineJoin = "round"; - ctx.strokeRect(ctx.lineWidth/2, ctx.lineWidth/2, plotWidth, plotHeight); + ctx.strokeRect(0, 0, plotWidth, plotHeight); ctx.restore(); }