summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-12-23 00:07:40 +0800
committerxuri <xuri.me@gmail.com>2019-12-23 00:07:40 +0800
commit4e4a5b9b3e052d1694442515492792fb1aa74c5a (patch)
treeebb0746cc3a26e50ed921f6f25cb295be6c3c417 /xmlChart.go
parentae2865d9237cfd27d7bc4fbef3870b3361597be8 (diff)
Improve compatibility, fix workbook's rels ID calc error
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlChart.go b/xmlChart.go
index a02da2a..84c1a3b 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -141,25 +141,25 @@ type aSchemeClr struct {
// attrValInt directly maps the val element with integer data type as an
// attribute。
type attrValInt struct {
- Val int `xml:"val,attr"`
+ Val *int `xml:"val,attr"`
}
// attrValFloat directly maps the val element with float64 data type as an
// attribute。
type attrValFloat struct {
- Val float64 `xml:"val,attr"`
+ Val *float64 `xml:"val,attr"`
}
// attrValBool directly maps the val element with boolean data type as an
// attribute。
type attrValBool struct {
- Val bool `xml:"val,attr"`
+ Val *bool `xml:"val,attr"`
}
// attrValString directly maps the val element with string data type as an
// attribute。
type attrValString struct {
- Val string `xml:"val,attr"`
+ Val *string `xml:"val,attr"`
}
// aCs directly maps the a:cs element.