douchunrong / flot

Automatically exported from code.google.com/p/flot
0 stars 0 forks source link

jquery.flot.fillbetween.js doc eror #677

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
jquery.flot.fillbetween.js in Flot version 0.7 says

In order to name the other series, you need to give it an id, like this
...

  $.plot($("#placeholder"), dataset, { line: { show: true, fill: true }});

It should be

  $.plot($("#placeholder"), dataset, { lines: { show: true, fill: true }});

"lines" plural.  Seems like a small thing, but I wasted a bunch of time on it, 
since it fails silently.

Thanks for Flot.

Original issue reported on code.google.com by dfran...@gmail.com on 13 Mar 2012 at 5:00

GoogleCodeExporter commented 9 years ago
Heh, "error", not "eror".  Typos get in there.

Original comment by dfran...@gmail.com on 13 Mar 2012 at 5:00

GoogleCodeExporter commented 9 years ago
Fixed in the master branch; thanks for pointing this out!

Original comment by dnsch...@gmail.com on 1 May 2012 at 11:20