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{