Updating due to upstream library update
This commit is contained in:
parent
c8f9e081f6
commit
18843b3209
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user