where did my ticks go.

This commit is contained in:
Will Charczuk 2016-07-29 19:35:18 -07:00
parent a008ebe30e
commit e44cdd5600
3 changed files with 123 additions and 28 deletions

View file

@ -13,8 +13,15 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
Background: chart.Style{
Padding: chart.Box{Top: 50, Left: 50, Right: 50, Bottom: 50},
},
XAxis: chart.Style{
Show: true,
},
YAxis: chart.Style{
Show: true,
},
Bars: []chart.StackedBar{
{
Name: "Funnel",
Values: []chart.Value{
{Value: 5, Label: "Blue"},
{Value: 5, Label: "Green"},
@ -26,6 +33,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
},
},
{
Name: "Test",
Values: []chart.Value{
{Value: 10, Label: "Blue"},
{Value: 5, Label: "Green"},