From 7ea6d7fae46a25485e33bb02158216022321d3d8 Mon Sep 17 00:00:00 2001 From: "weizili.360.laptop" Date: Fri, 26 Dec 2014 21:14:58 +0800 Subject: [PATCH] Fix pie plot error --- pie_parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pie_parser.go b/pie_parser.go index 7efb257..964c6ff 100644 --- a/pie_parser.go +++ b/pie_parser.go @@ -27,7 +27,7 @@ func (c *PieChart) Parse(ini *goini.INI) (map[string]string, error) { } key := k[len(DataPrefix):] - DataArray = DataArray + "['" + key + "' : " + v + "],\n" + DataArray = DataArray + "['" + key + "' , " + v + "],\n" } DataArray = DataArray + "]"