summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-04-10 00:15:39 +0800
committerxuri <xuri.me@gmail.com>2021-04-10 00:15:39 +0800
commit1559dd31be6f394ed78129d763c4677cc26bb51c (patch)
tree59eeca51817a7e077e2206ee6800cdddc5911f09 /xmlChart.go
parenta8197485b5ca94f18f454eaae34af74500bd4dc3 (diff)
Support specifies that each data marker in the series has a different color
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go19
1 files changed, 10 insertions, 9 deletions
diff --git a/xmlChart.go b/xmlChart.go
index 637d954..85a2c5c 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -553,15 +553,16 @@ type formatChartDimension struct {
// formatChart directly maps the format settings of the chart.
type formatChart struct {
- Type string `json:"type"`
- Series []formatChartSeries `json:"series"`
- Format formatPicture `json:"format"`
- Dimension formatChartDimension `json:"dimension"`
- Legend formatChartLegend `json:"legend"`
- Title formatChartTitle `json:"title"`
- XAxis formatChartAxis `json:"x_axis"`
- YAxis formatChartAxis `json:"y_axis"`
- Chartarea struct {
+ Type string `json:"type"`
+ Series []formatChartSeries `json:"series"`
+ Format formatPicture `json:"format"`
+ Dimension formatChartDimension `json:"dimension"`
+ Legend formatChartLegend `json:"legend"`
+ Title formatChartTitle `json:"title"`
+ VaryColors bool `json:"vary_colors"`
+ XAxis formatChartAxis `json:"x_axis"`
+ YAxis formatChartAxis `json:"y_axis"`
+ Chartarea struct {
Border struct {
None bool `json:"none"`
} `json:"border"`