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