diff --git a/demo_project/demo/templates/demo/flot.html b/demo_project/demo/templates/demo/flot.html index db0205d..2700fd9 100644 --- a/demo_project/demo/templates/demo/flot.html +++ b/demo_project/demo/templates/demo/flot.html @@ -73,4 +73,21 @@
+ data = [ + ['Year', 'Sales', 'Expenses', 'Items Sold', 'Net Profit'], + ['2004', 1000, 400, 100, 600], + ['2005', 1170, 460, 120, 310], + ['2006', 660, 1120, 50, -460], + ['2007', 1030, 540, 100, 200], + ] + data_source = SimpleDataSource(data) + chart = flot.AreaChart(data_source, options={'title': "Sales/ Expense"}) ++