Commit 4375f84f authored by olau@iola.dk's avatar olau@iola.dk

Removed 1/2 linewidth hack, it is a bad idea for the outline, fixes issue 8

git-svn-id: https://flot.googlecode.com/svn/trunk@27 1e0a6537-2640-0410-bfb7-f154510ff394
parent 0c08a9ab
...@@ -9,7 +9,6 @@ handling time data ...@@ -9,7 +9,6 @@ handling time data
grid configuration grid configuration
- how ticks look like - how ticks look like
- (handling of 1/2 linewidth hack in grid?)
selection selection
- user should be able to cancel selection with escape - user should be able to cancel selection with escape
......
...@@ -434,7 +434,7 @@ ...@@ -434,7 +434,7 @@
ctx.lineWidth = 2; ctx.lineWidth = 2;
ctx.strokeStyle = options.grid.color; ctx.strokeStyle = options.grid.color;
ctx.lineJoin = "round"; ctx.lineJoin = "round";
ctx.strokeRect(ctx.lineWidth/2, ctx.lineWidth/2, plotWidth, plotHeight); ctx.strokeRect(0, 0, plotWidth, plotHeight);
ctx.restore(); ctx.restore();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment