Wed, 24 Jun 2009 19:36:34 +0100
Fix "bar" type to be vertical by default
gchart.lua | file | annotate | diff | comparison | revisions |
--- a/gchart.lua Wed Jun 24 14:46:26 2009 +0100 +++ b/gchart.lua Wed Jun 24 19:36:34 2009 +0100 @@ -13,7 +13,7 @@ -- Helpers local function urlencode(s) return s and (s:gsub("%W", function (c) return string.format("%%%02x", c:byte()); end)); end -local typemap = { line = "lc", sparkline = "ls", plot = "lxy", bar = "bhs" }; +local typemap = { line = "lc", sparkline = "ls", plot = "lxy", bar = "bvs" }; function new(type) local chart_obj = {