removing color translator

This commit is contained in:
Will Charczuk 2017-04-15 09:43:59 -07:00
parent 03ac305951
commit c599f1a2a2
2 changed files with 259 additions and 265 deletions

View file

@ -16,7 +16,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
Style: chart.Style{
Show: true,
StrokeWidth: chart.Disabled,
DotWidthProvider: func(_, yr chart.Range, x, y float64) float64 { return 10 * (y / yr.GetDelta()) },
DotWidth: 5,
DotColorProvider: chart.Viridis,
},
XValues: chart.Sequence.Random(128, 1024),