Updating due to upstream library update

This commit is contained in:
farhan 2025-01-25 01:16:33 +00:00
parent a30370c827
commit dcdb075ee9

View File

@ -383,7 +383,7 @@ func getGlobalGraph(w http.ResponseWriter, r *http.Request) {
line.SetXAxis(dates). line.SetXAxis(dates).
AddSeries("Post Count", generateLineItems(counts)). AddSeries("Post Count", generateLineItems(counts)).
SetSeriesOptions(charts.WithLineChartOpts(opts.LineChart{Smooth: false})) SetSeriesOptions(charts.WithLineChartOpts(opts.LineChart{Smooth: opts.Bool(false)}))
line.Render(w) line.Render(w)
} }