fixing bug with annotations with axis turned off.

This commit is contained in:
Will Charczuk 2016-07-10 16:26:18 -07:00
parent 7e876eadf4
commit 9aa2a45a39
5 changed files with 186 additions and 15 deletions

View file

@ -35,12 +35,12 @@ func chartHandler(rc *web.RequestContext) web.ControllerResult {
Height: 400,
XAxis: chart.XAxis{
Style: chart.Style{
Show: true,
Show: false,
},
},
YAxis: chart.YAxis{
Style: chart.Style{
Show: true,
Show: false,
},
Range: chart.Range{
Min: 0.0,
@ -49,7 +49,7 @@ func chartHandler(rc *web.RequestContext) web.ControllerResult {
},
YAxisSecondary: chart.YAxis{
Style: chart.Style{
Show: true,
Show: false,
},
Range: chart.Range{
Min: 0.8,