auto width BarChart setting Width=-1

This commit is contained in:
Enrico 2019-07-26 16:31:35 +02:00
parent 9852fce5a1
commit 255dde81ad

View file

@ -19,6 +19,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
},
},
Height: 512,
Width: -1,
BarWidth: 60,
XAxis: chart.StyleShow(),
YAxis: chart.YAxis{