Skip to content

Commit

Permalink
Fix bug with points plotting using line width from lines rather than …
Browse files Browse the repository at this point in the history
…points

git-svn-id: https://flot.googlecode.com/svn/trunk@262 1e0a6537-2640-0410-bfb7-f154510ff394
  • Loading branch information
olau@iola.dk committed Jul 12, 2010
1 parent cfe5b94 commit f192ea9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion NEWS.txt
Expand Up @@ -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
--------
Expand Down
2 changes: 1 addition & 1 deletion jquery.flot.js
Expand Up @@ -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) {
Expand Down

0 comments on commit f192ea9

Please sign in to comment.