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
pull/1/head
olau@iola.dk 16 years ago
parent cfe5b94998
commit f192ea9cb8

@ -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 @@
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) {

Loading…
Cancel
Save