Updating due to upstream library update

This commit is contained in:
farhan 2025-01-25 01:16:33 +00:00
parent c8f9e081f6
commit 18843b3209

View File

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