summaryrefslogtreecommitdiff
path: root/xmlChart.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 /xmlChart.go
parent3d02726ad4dc3bc6a92d5b68ef8421ac4db44076 (diff)
This closes #1369, support set, and get font color with theme and tint (#1370)
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlChart.go b/xmlChart.go
index 27a790e..2ebcdef 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -476,7 +476,7 @@ type cNumCache struct {
PtCount *attrValInt `xml:"ptCount"`
}
-// cDLbls (Data Lables) directly maps the dLbls element. This element serves
+// cDLbls (Data Labels) directly maps the dLbls element. This element serves
// as a root element that specifies the settings for the data labels for an
// entire series or the entire chart. It contains child elements that specify
// the specific formatting and positioning settings.
@@ -538,7 +538,7 @@ type chartAxisOptions struct {
Maximum *float64 `json:"maximum"`
Minimum *float64 `json:"minimum"`
NumFormat string `json:"number_format"`
- NumFont Font `json:"number_font"`
+ Font Font `json:"font"`
LogBase float64 `json:"logbase"`
NameLayout layoutOptions `json:"name_layout"`
}