Export base chart to allow configuration of defaults

Wed, 24 Jun 2009 20:34:36 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 24 Jun 2009 20:34:36 +0100
changeset 7
a6977f303c2c
parent 6
8d4be5429414
child 8
05052cfcefab

Export base chart to allow configuration of defaults

gchart.lua file | annotate | diff | comparison | revisions
--- a/gchart.lua	Wed Jun 24 19:38:41 2009 +0100
+++ b/gchart.lua	Wed Jun 24 20:34:36 2009 +0100
@@ -4,6 +4,8 @@
 local chart = {};
 chart.__index = chart;
 
+default = chart; -- Export defaults as the base chart object
+
 local writers = {}; -- Table of functions which build the URL
 
 -- Defaults

mercurial