fixing build bust.
This commit is contained in:
parent
b0934ee2e3
commit
c2f7c99c3f
2 changed files with 2 additions and 1 deletions
1
chart.go
1
chart.go
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue