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

Fix bug with points plotting using line width from lines rather than points


git-svn-id: https://flot.googlecode.com/svn/trunk@262 1e0a6537-2640-0410-bfb7-f154510ff394
parent cfe5b949
...@@ -90,7 +90,9 @@ Bug fixes: ...@@ -90,7 +90,9 @@ Bug fixes:
plugin, to guard against errors when synchronizing plots (fix by Lau plugin, to guard against errors when synchronizing plots (fix by Lau
Bech Lauritzen). Bech Lauritzen).
- Fix bug in crosshair code with mouseout resetting the crosshair even - Fix bug in crosshair code with mouseout resetting the crosshair even
if it is locked (fix by Lau Bech Lauritzen). if it is locked (fix by Lau Bech Lauritzen).
- Fix bug with points plotting using line width from lines rather than
points.
Flot 0.6 Flot 0.6
-------- --------
......
...@@ -1920,7 +1920,7 @@ ...@@ -1920,7 +1920,7 @@
ctx.save(); ctx.save();
ctx.translate(plotOffset.left, plotOffset.top); ctx.translate(plotOffset.left, plotOffset.top);
var lw = series.lines.lineWidth, var lw = series.points.lineWidth,
sw = series.shadowSize, sw = series.shadowSize,
radius = series.points.radius; radius = series.points.radius;
if (lw > 0 && sw > 0) { if (lw > 0 && sw > 0) {
......
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