# HG changeset patch # User Matthew Wild # Date 1245868594 -3600 # Node ID e17867506327baa29f6caff913b57bdba956f01d # Parent 49a62f0f4a96463d50505b6641dbc9f967d1bd26 Fix "bar" type to be vertical by default diff -r 49a62f0f4a96 -r e17867506327 gchart.lua --- 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 = {