From c2f7c99c3f4dca406b9d26506545966b94b35995 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Thu, 21 Jul 2016 14:14:28 -0700 Subject: [PATCH] fixing build bust. --- chart.go | 1 + examples/custom_ranges/main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chart.go b/chart.go index 4427592..7132079 100644 --- a/chart.go +++ b/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, diff --git a/examples/custom_ranges/main.go b/examples/custom_ranges/main.go index ad8cb6a..4529684 100644 --- a/examples/custom_ranges/main.go +++ b/examples/custom_ranges/main.go @@ -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, },