summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
authorGaoFei <strivek@icloud.com>2022-10-15 00:03:49 +0800
committerGitHub <noreply@github.com>2022-10-15 00:03:49 +0800
commit3ece904b0082f4d63afe0d795b61c860d0790c83 (patch)
treecd747622903878bb6bb4828f56c97cf3c5da76a9 /chart.go
parent3d02726ad4dc3bc6a92d5b68ef8421ac4db44076 (diff)
This closes #1369, support set, and get font color with theme and tint (#1370)
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/chart.go b/chart.go
index ce11b59..be6ddd8 100644
--- a/chart.go
+++ b/chart.go
@@ -702,7 +702,7 @@ func parseChartOptions(opts string) (*chartOptions, error) {
//
// title
//
-// name: Set the name (title) for the chart. The name is displayed above the chart. The name can also be a formula such as Sheet1!$A$1 or a list with a sheetname. The name property is optional. The default is to have no chart title.
+// name: Set the name (title) for the chart. The name is displayed above the chart. The name can also be a formula such as Sheet1!$A$1 or a list with a sheet name. The name property is optional. The default is to have no chart title.
//
// Specifies how blank cells are plotted on the chart by show_blanks_as. The default value is gap. The options that can be set are:
//
@@ -750,18 +750,19 @@ func parseChartOptions(opts string) (*chartOptions, error) {
// reverse_order
// maximum
// minimum
-// number_font
+// font
//
// The properties of y_axis that can be set are:
//
// none
// major_grid_lines
// minor_grid_lines
+// major_unit
// tick_label_skip
// reverse_order
// maximum
// minimum
-// number_font
+// font
//
// none: Disable axes.
//
@@ -779,7 +780,7 @@ func parseChartOptions(opts string) (*chartOptions, error) {
//
// minimum: Specifies that the fixed minimum, 0 is auto. The minimum property is optional. The default value is auto.
//
-// number_font: Specifies that the font of the horizontal and vertical axis. The properties of number_font that can be set are:
+// font: Specifies that the font of the horizontal and vertical axis. The properties of font that can be set are:
//
// bold
// italic