gridlines.

This commit is contained in:
Will Charczuk 2016-07-12 19:14:14 -07:00
parent 28f01842de
commit 249e9956d0
9 changed files with 141 additions and 15 deletions

View file

@ -46,6 +46,12 @@ func chartHandler(rc *web.RequestContext) web.ControllerResult {
Style: chart.Style{
Show: true,
},
GridMajorStyle: chart.Style{
Show: true,
},
GridMinorStyle: chart.Style{
Show: true,
},
},
YAxis: chart.YAxis{
Style: chart.Style{
@ -57,6 +63,12 @@ func chartHandler(rc *web.RequestContext) web.ControllerResult {
StrokeWidth: 1.0,
},
},
GridMajorStyle: chart.Style{
Show: true,
},
GridMinorStyle: chart.Style{
Show: true,
},
},
Series: []chart.Series{
chart.TimeSeries{