From 1559dd31be6f394ed78129d763c4677cc26bb51c Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 10 Apr 2021 00:15:39 +0800 Subject: Support specifies that each data marker in the series has a different color --- xmlChart.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'xmlChart.go') 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"` -- cgit v1.2.1