From fded346ae7a9df992c2f008789d84c81e50fbfb1 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Thu, 28 Jul 2016 18:58:45 -0700 Subject: [PATCH] fixing example. --- examples/axes/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/axes/main.go b/examples/axes/main.go index 325a632..ee0a88c 100644 --- a/examples/axes/main.go +++ b/examples/axes/main.go @@ -28,8 +28,8 @@ func drawChart(res http.ResponseWriter, req *http.Request) { chart.ContinuousSeries{ Style: chart.Style{ Show: true, - StrokeColor: chart.GetDefaultSeriesStrokeColor(0).WithAlpha(64), - FillColor: chart.GetDefaultSeriesStrokeColor(0).WithAlpha(64), + StrokeColor: chart.GetDefaultColor(0).WithAlpha(64), + FillColor: chart.GetDefaultColor(0).WithAlpha(64), }, XValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0}, YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0},