fully functioning Viridis

This commit is contained in:
Chris Redford 2017-04-17 11:52:04 -07:00
parent e53554fb04
commit 086ec48a81
7 changed files with 20 additions and 11 deletions

View file

@ -26,8 +26,8 @@ func drawChartWide(res http.ResponseWriter, req *http.Request) {
Width: 1920, //this overrides the default.
Series: []chart.Series{
chart.ContinuousSeries{
XValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0},
YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0},
XValues: []float64{1.0, 2.0, 3.0, 4.0},
YValues: []float64{1.0, 2.0, 3.0, 4.0},
},
},
}