summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/chart.go b/chart.go
index 1e2e046..3ac460b 100644
--- a/chart.go
+++ b/chart.go
@@ -494,6 +494,7 @@ func parseFormatChartSet(formatSet string) (*formatChart, error) {
Title: formatChartTitle{
Name: " ",
},
+ VaryColors: true,
ShowBlanksAs: "gap",
}
err := json.Unmarshal([]byte(formatSet), &format)
@@ -711,6 +712,8 @@ func parseFormatChartSet(formatSet string) (*formatChart, error) {
//
// zero: Specifies that blank values shall be treated as zero.
//
+// Specifies that each data marker in the series has a different color by vary_colors. The default value is true.
+//
// Set chart offset, scale, aspect ratio setting and print settings by format, same as function AddPicture.
//
// Set the position of the chart plot area by plotarea. The properties that can be set are: