summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-12-28 15:05:44 +0800
committerxuri <xuri.me@gmail.com>2019-12-28 15:05:44 +0800
commit8b960ee1e624bd2776a351a4a3b2ad04c29bae9a (patch)
tree6eef967a11bf69477fa8b00d3229e5aa03d4d555 /xmlChart.go
parent5f3a4bc39f9cf2987104ffe57242a0526cdd9158 (diff)
Fix #547 and #546, add default overlay element for the chart
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlChart.go b/xmlChart.go
index a28d2a7..fc38dab 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -56,11 +56,11 @@ type cChart struct {
// cTitle (Title) directly maps the title element. This element specifies a
// title.
type cTitle struct {
- Tx cTx `xml:"tx,omitempty"`
- Layout string `xml:"layout,omitempty"`
- Overlay attrValBool `xml:"overlay,omitempty"`
- SpPr cSpPr `xml:"spPr,omitempty"`
- TxPr cTxPr `xml:"txPr,omitempty"`
+ Tx cTx `xml:"tx,omitempty"`
+ Layout string `xml:"layout,omitempty"`
+ Overlay *attrValBool `xml:"overlay"`
+ SpPr cSpPr `xml:"spPr,omitempty"`
+ TxPr cTxPr `xml:"txPr,omitempty"`
}
// cTx (Chart Text) directly maps the tx element. This element specifies text