From 18843b32095c9ba25ceb51a0d52a5c226b0c8647 Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Sat, 25 Jan 2025 01:16:33 +0000 Subject: [PATCH] Updating due to upstream library update --- restapi/restapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi/restapi.go b/restapi/restapi.go index 43ca4e5..7910b0d 100644 --- a/restapi/restapi.go +++ b/restapi/restapi.go @@ -383,7 +383,7 @@ func getGlobalGraph(w http.ResponseWriter, r *http.Request) { line.SetXAxis(dates). AddSeries("Post Count", generateLineItems(counts)). - SetSeriesOptions(charts.WithLineChartOpts(opts.LineChart{Smooth: false})) + SetSeriesOptions(charts.WithLineChartOpts(opts.LineChart{Smooth: opts.Bool(false)})) line.Render(w) }