fixing issues

This commit is contained in:
Will Charczuk 2018-09-07 15:25:58 -07:00
parent 1555902fc4
commit 1a09989055

View file

@ -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{