diff options
author | xuri <xuri.me@gmail.com> | 2021-04-10 00:15:39 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-04-10 00:15:39 +0800 |
commit | 1559dd31be6f394ed78129d763c4677cc26bb51c (patch) | |
tree | 59eeca51817a7e077e2206ee6800cdddc5911f09 /chart.go | |
parent | a8197485b5ca94f18f454eaae34af74500bd4dc3 (diff) |
Support specifies that each data marker in the series has a different color
Diffstat (limited to 'chart.go')
-rw-r--r-- | chart.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |