gchart.lua

changeset 7
a6977f303c2c
parent 6
8d4be5429414
child 10
8deebb43b0de
equal deleted inserted replaced
6:8d4be5429414 7:a6977f303c2c
1 1
2 module(..., package.seeall); 2 module(..., package.seeall);
3 3
4 local chart = {}; 4 local chart = {};
5 chart.__index = chart; 5 chart.__index = chart;
6
7 default = chart; -- Export defaults as the base chart object
6 8
7 local writers = {}; -- Table of functions which build the URL 9 local writers = {}; -- Table of functions which build the URL
8 10
9 -- Defaults 11 -- Defaults
10 chart.base_url = "http://chart.apis.google.com/chart"; 12 chart.base_url = "http://chart.apis.google.com/chart";

mercurial