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) }