Separation of DotColorProvider and ColorProvider Interfaces (#34)
* fully functioning Viridis * pure functions
This commit is contained in:
parent
e53554fb04
commit
b3dc3fef3c
7 changed files with 18 additions and 13 deletions
|
|
@ -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},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue