fixing build bust.

This commit is contained in:
Will Charczuk 2016-07-21 14:14:28 -07:00
parent b0934ee2e3
commit c2f7c99c3f
2 changed files with 2 additions and 1 deletions

View file

@ -479,6 +479,7 @@ func (c Chart) styleDefaultsSeries(seriesIndex int) Style {
func (c Chart) styleDefaultsAxis() Style {
return Style{
Font: c.GetFont(),
FontColor: DefaultAxisColor,
FontSize: DefaultAxisFontSize,
StrokeColor: DefaultAxisColor,
StrokeWidth: DefaultAxisLineWidth,

View file

@ -17,7 +17,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
Style: chart.Style{
Show: true,
},
Range: chart.ContinuousRange{
Range: &chart.ContinuousRange{
Min: 0.0,
Max: 10.0,
},