Fix bug with backwards compatibility for shadowSize = 0 (report and suggested fix by aspinak)

git-svn-id: https://flot.googlecode.com/svn/trunk@285 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 16 years ago
parent cc031e0a86
commit 8e82c4cef1

@ -114,6 +114,8 @@ Bug fixes:
- Fix bug with using aboveData with a background (reported by
amitayd).
- Fix possible excanvas leak (report and suggested fix by tom9729).
- Fix bug with backwards compatibility for shadowSize = 0 (report and
suggested fix by aspinak).
Flot 0.6

@ -281,7 +281,7 @@
$.extend(true, options.series.points, options.points);
if (options.bars)
$.extend(true, options.series.bars, options.bars);
if (options.shadowSize)
if (options.shadowSize != null)
options.series.shadowSize = options.shadowSize;
for (i = 0; i < options.xaxes.length; ++i)

Loading…
Cancel
Save