updated example
This commit is contained in:
parent
5a9b0753ec
commit
079c471daf
|
@ -17,7 +17,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
|
||||||
Show: true,
|
Show: true,
|
||||||
StrokeWidth: chart.Disabled,
|
StrokeWidth: chart.Disabled,
|
||||||
DotWidthProvider: func(rx, ry, x, y float64) float64 { return 10 * (y / ry) },
|
DotWidthProvider: func(rx, ry, x, y float64) float64 { return 10 * (y / ry) },
|
||||||
DotColorProvider: chart.Vidris,
|
DotColorProvider: chart.Viridis,
|
||||||
},
|
},
|
||||||
XValues: chart.Sequence.Random(128, 1024),
|
XValues: chart.Sequence.Random(128, 1024),
|
||||||
YValues: chart.Sequence.Random(128, 1024),
|
YValues: chart.Sequence.Random(128, 1024),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user