From 73cc4bd44933994ffa8efad9c3e05fe7cb826b49 Mon Sep 17 00:00:00 2001 From: Artem Tarasenko Date: Tue, 13 Sep 2022 19:05:05 +0300 Subject: This closes #1345, support set custom line color in the charts (#1346) --- chart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart.go') diff --git a/chart.go b/chart.go index e18545d..5f7ae3d 100644 --- a/chart.go +++ b/chart.go @@ -653,7 +653,7 @@ func parseFormatChartSet(formatSet string) (*formatChart, error) { // // values: This is the most important property of a series and is the only mandatory option for every chart object. This option links the chart with the worksheet data that it displays. // -// line: This sets the line format of the line chart. The line property is optional and if it isn't supplied it will default style. The options that can be set is width. The range of width is 0.25pt - 999pt. If the value of width is outside the range, the default width of the line is 2pt. +// line: This sets the line format of the line chart. The line property is optional and if it isn't supplied it will default style. The options that can be set are width and color. The range of width is 0.25pt - 999pt. If the value of width is outside the range, the default width of the line is 2pt. The value for color should be represented in hex format (e.g., #000000 - #FFFFFF) // // marker: This sets the marker of the line chart and scatter chart. The range of optional field 'size' is 2-72 (default value is 5). The enumeration value of optional field 'symbol' are (default value is 'auto'): // -- cgit v1.2.1