summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-01-14 00:33:36 +0800
committerxuri <xuri.me@gmail.com>2020-01-14 00:45:21 +0800
commit9ddb52eac4e451f676dabe4eed45ee95fce38eef (patch)
tree56a31bc0ab6f19a605d68f324e4edc5973e3371c /xmlChart.go
parent5ca7231ed408ac264f509ff52b5d28ff4fbda757 (diff)
Fix #554, init combo chart support, new chart pie of pie, bar of pie chart support
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/xmlChart.go b/xmlChart.go
index b6d041e..9d6263f 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -312,6 +312,7 @@ type cPlotArea struct {
LineChart *cCharts `xml:"lineChart"`
PieChart *cCharts `xml:"pieChart"`
Pie3DChart *cCharts `xml:"pie3DChart"`
+ OfPieChart *cCharts `xml:"ofPieChart"`
RadarChart *cCharts `xml:"radarChart"`
ScatterChart *cCharts `xml:"scatterChart"`
Surface3DChart *cCharts `xml:"surface3DChart"`
@@ -329,6 +330,8 @@ type cCharts struct {
Grouping *attrValString `xml:"grouping"`
RadarStyle *attrValString `xml:"radarStyle"`
ScatterStyle *attrValString `xml:"scatterStyle"`
+ OfPieType *attrValString `xml:"ofPieType"`
+ SerLines *attrValString `xml:"serLines"`
VaryColors *attrValBool `xml:"varyColors"`
Wireframe *attrValBool `xml:"wireframe"`
Ser *[]cSer `xml:"ser"`
@@ -590,10 +593,11 @@ type formatChart struct {
} `json:"fill"`
Layout formatLayout `json:"layout"`
} `json:"plotarea"`
- ShowBlanksAs string `json:"show_blanks_as"`
- ShowHiddenData bool `json:"show_hidden_data"`
- SetRotation int `json:"set_rotation"`
- SetHoleSize int `json:"set_hole_size"`
+ ShowBlanksAs string `json:"show_blanks_as"`
+ ShowHiddenData bool `json:"show_hidden_data"`
+ SetRotation int `json:"set_rotation"`
+ SetHoleSize int `json:"set_hole_size"`
+ Combo *formatChart `json:"combo"`
}
// formatChartLegend directly maps the format settings of the chart legend.