# HG changeset patch # User Matthew Wild # Date 1245851186 -3600 # Node ID 49a62f0f4a96463d50505b6641dbc9f967d1bd26 # Parent 107b9d00e4d45ef6efc6ba78c38e4f8a195e20cb Fix traceback when writing axes diff -r 107b9d00e4d4 -r 49a62f0f4a96 gchart.lua --- a/gchart.lua Wed Jun 24 05:34:39 2009 +0100 +++ b/gchart.lua Wed Jun 24 14:46:26 2009 +0100 @@ -143,7 +143,7 @@ function writers:axes() local axes, ranges = {}, {}; local labels, positions = {}, {}; - local styles = {}; + local styles, ticklengths = {}, {}; for index, axis in ipairs(self.axes) do index = index - 1;