From 1a099890558e433f921c1590e1fc5b100ee5d2cd Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Fri, 7 Sep 2018 15:25:58 -0700 Subject: [PATCH] fixing issues --- _examples/min_max/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/min_max/main.go b/_examples/min_max/main.go index d8cc3a0..5d838c3 100644 --- a/_examples/min_max/main.go +++ b/_examples/min_max/main.go @@ -11,7 +11,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) { mainSeries := chart.ContinuousSeries{ Name: "A test series", XValues: seq.Range(1.0, 100.0), - YValues: seq.New(seq.NewRandom().WithLen(100).WithAverage(100).WithScale(50)).Array(), + YValues: seq.New(seq.NewRandom().WithLen(100).WithMax(150).WithMin(50)).Array(), } minSeries := &chart.MinSeries{