From cb8bca0e92cbec30db10c2a2863ef81fd98a6138 Mon Sep 17 00:00:00 2001 From: xuri Date: Wed, 24 Aug 2022 00:00:47 +0800 Subject: 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 --- xmlChart.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xmlChart.go') 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"` -- cgit v1.2.1