Commit c77b0af8 authored by olau@iola.dk's avatar olau@iola.dk

Swapped a suspicious looking line in markings drawing


git-svn-id: https://flot.googlecode.com/svn/trunk@206 1e0a6537-2640-0410-bfb7-f154510ff394
parent 0c54df7f
...@@ -1137,8 +1137,8 @@ ...@@ -1137,8 +1137,8 @@
if (xrange.from == xrange.to || yrange.from == yrange.to) { if (xrange.from == xrange.to || yrange.from == yrange.to) {
// draw line // draw line
ctx.strokeStyle = m.color || options.grid.markingsColor;
ctx.beginPath(); ctx.beginPath();
ctx.strokeStyle = m.color || options.grid.markingsColor;
ctx.lineWidth = m.lineWidth || options.grid.markingsLineWidth; ctx.lineWidth = m.lineWidth || options.grid.markingsLineWidth;
//ctx.moveTo(Math.floor(xrange.from), yrange.from); //ctx.moveTo(Math.floor(xrange.from), yrange.from);
//ctx.lineTo(Math.floor(xrange.to), yrange.to); //ctx.lineTo(Math.floor(xrange.to), yrange.to);
......
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