# HG changeset patch # User Matthew Wild # Date 1245872076 -3600 # Node ID a6977f303c2c180811b254b376b3617ea69029eb # Parent 8d4be5429414cc35a4dffd3215f3e134a315282f Export base chart to allow configuration of defaults diff -r 8d4be5429414 -r a6977f303c2c gchart.lua --- 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