summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
authortvso <xuri.me@icloud.com>2018-10-27 23:19:59 +0800
committertvso <xuri.me@icloud.com>2018-10-27 23:19:59 +0800
commit0ef2324f0bdd2fb524b0e19973c2b1a093a5afc5 (patch)
treefb9d903114beab4599bbb0027451fb058b83dbc1 /xmlChart.go
parent42c3541f6840d6e4c03455401ec00f5ce1130d54 (diff)
fix unknown option in JSON struct tag
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlChart.go b/xmlChart.go
index 78218a0..3271cbb 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -253,7 +253,7 @@ type aLn struct {
Algn string `xml:"algn,attr,omitempty"`
Cap string `xml:"cap,attr,omitempty"`
Cmpd string `xml:"cmpd,attr,omitempty"`
- W int `xml:"w,attr,omitempty" `
+ W int `xml:"w,attr,omitempty"`
NoFill string `xml:"a:noFill,omitempty"`
Round string `xml:"a:round,omitempty"`
SolidFill *aSolidFill `xml:"a:solidFill"`
@@ -591,7 +591,7 @@ type formatChartSeries struct {
} `json:"line"`
Marker struct {
Type string `json:"type"`
- Size int `json:"size,"`
+ Size int `json:"size"`
Width float64 `json:"width"`
Border struct {
Color string `json:"color"`