From f192ea9cb873d0a5835d97e825d688c6a441c66e Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Mon, 12 Jul 2010 14:25:43 +0000 Subject: [PATCH] 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 --- NEWS.txt | 4 +++- jquery.flot.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS.txt b/NEWS.txt index 1da0883..f21e95a 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -90,7 +90,9 @@ Bug fixes: plugin, to guard against errors when synchronizing plots (fix by Lau Bech Lauritzen). - 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 -------- diff --git a/jquery.flot.js b/jquery.flot.js index 7512155..3c4d8f0 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -1920,7 +1920,7 @@ ctx.save(); ctx.translate(plotOffset.left, plotOffset.top); - var lw = series.lines.lineWidth, + var lw = series.points.lineWidth, sw = series.shadowSize, radius = series.points.radius; if (lw > 0 && sw > 0) {