fixing example.

This commit is contained in:
Will Charczuk 2016-07-28 18:58:45 -07:00
parent 490d7dae38
commit fded346ae7

View file

@ -28,8 +28,8 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
chart.ContinuousSeries{ chart.ContinuousSeries{
Style: chart.Style{ Style: chart.Style{
Show: true, Show: true,
StrokeColor: chart.GetDefaultSeriesStrokeColor(0).WithAlpha(64), StrokeColor: chart.GetDefaultColor(0).WithAlpha(64),
FillColor: chart.GetDefaultSeriesStrokeColor(0).WithAlpha(64), FillColor: chart.GetDefaultColor(0).WithAlpha(64),
}, },
XValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0}, XValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0},
YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0}, YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0},