summaryrefslogtreecommitdiff
path: root/xmlChart.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-08-24 00:00:47 +0800
committerxuri <xuri.me@gmail.com>2022-08-24 00:00:47 +0800
commitcb8bca0e92cbec30db10c2a2863ef81fd98a6138 (patch)
treeee88b5e9d15ebace0e702ad05ae84e4f10fe33c2 /xmlChart.go
parentab12307393461e7055f664d296a3a0e686eebb39 (diff)
This closes #1290 and closes #1328
- Add new smooth field in chart format parameter, support specify if smooth line chart - Fix decimal number format round issue with build-in number format
Diffstat (limited to 'xmlChart.go')
-rw-r--r--xmlChart.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmlChart.go b/xmlChart.go
index b6ee3cd..dcd33e4 100644
--- a/xmlChart.go
+++ b/xmlChart.go
@@ -620,9 +620,10 @@ type formatChartSeries struct {
Categories string `json:"categories"`
Values string `json:"values"`
Line struct {
- None bool `json:"none"`
- Color string `json:"color"`
- Width float64 `json:"width"`
+ None bool `json:"none"`
+ Color string `json:"color"`
+ Smooth bool `json:"smooth"`
+ Width float64 `json:"width"`
} `json:"line"`
Marker struct {
Symbol string `json:"symbol"`