Commit a7747bef authored by olau@iola.dk's avatar olau@iola.dk

Fix JSON to be valid and update news

git-svn-id: https://flot.googlecode.com/svn/trunk@273 1e0a6537-2640-0410-bfb7-f154510ff394
parent 959ebb91
...@@ -98,6 +98,11 @@ Bug fixes: ...@@ -98,6 +98,11 @@ Bug fixes:
if it is locked (fix by Lau Bech Lauritzen and Banko Adam). if it is locked (fix by Lau Bech Lauritzen and Banko Adam).
- Fix bug with points plotting using line width from lines rather than - Fix bug with points plotting using line width from lines rather than
points. points.
- Fix bug with passing non-array 0 data (for plugins that don't expect
arrays, patch by vpapp1).
- Fix errors in JSON in examples so they work with jQuery 1.4.2
(fix reported by honestbleeps, issue 357).
Flot 0.6 Flot 0.6
-------- --------
......
{ {
label: 'Europe (EU27)', "label": "Europe (EU27)",
data: [[1999, 3.0], [2000, 3.9]] "data": [[1999, 3.0], [2000, 3.9]]
} }
{ {
label: 'Europe (EU27)', "label": "Europe (EU27)",
data: [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2]] "data": [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2]]
} }
{ {
label: 'Europe (EU27)', "label": "Europe (EU27)",
data: [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5]] "data": [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5]]
} }
{ {
label: 'Europe (EU27)', "label": "Europe (EU27)",
data: [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5], [2005, 2.0], [2006, 3.1]] "data": [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5], [2005, 2.0], [2006, 3.1]]
} }
{ {
label: 'Europe (EU27)', "label": "Europe (EU27)",
data: [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5], [2005, 2.0], [2006, 3.1], [2007, 2.9], [2008, 0.9]] "data": [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5], [2005, 2.0], [2006, 3.1], [2007, 2.9], [2008, 0.9]]
} }
{ {
label: 'Europe (EU27)', "label": "Europe (EU27)",
data: [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5], [2005, 2.0], [2006, 3.1], [2007, 2.9], [2008, 0.9]] "data": [[1999, 3.0], [2000, 3.9], [2001, 2.0], [2002, 1.2], [2003, 1.3], [2004, 2.5], [2005, 2.0], [2006, 3.1], [2007, 2.9], [2008, 0.9]]
} }
{ {
label: 'Japan', "label": "Japan",
data: [[1999, -0.1], [2000, 2.9], [2001, 0.2], [2002, 0.3], [2003, 1.4], [2004, 2.7], [2005, 1.9], [2006, 2.0], [2007, 2.3], [2008, -0.7]] "data": [[1999, -0.1], [2000, 2.9], [2001, 0.2], [2002, 0.3], [2003, 1.4], [2004, 2.7], [2005, 1.9], [2006, 2.0], [2007, 2.3], [2008, -0.7]]
} }
{ {
label: 'USA', "label": "USA",
data: [[1999, 4.4], [2000, 3.7], [2001, 0.8], [2002, 1.6], [2003, 2.5], [2004, 3.6], [2005, 2.9], [2006, 2.8], [2007, 2.0], [2008, 1.1]] "data": [[1999, 4.4], [2000, 3.7], [2001, 0.8], [2002, 1.6], [2003, 2.5], [2004, 3.6], [2005, 2.9], [2006, 2.8], [2007, 2.0], [2008, 1.1]]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment