fixing examples
This commit is contained in:
parent
4d93883953
commit
50b025e273
32 changed files with 87 additions and 67 deletions
|
|
@ -20,12 +20,18 @@ func drawLargeChart(res http.ResponseWriter, r *http.Request) {
|
|||
if err != nil {
|
||||
numSeriesInt64 = int64(1)
|
||||
}
|
||||
if numSeriesInt64 == 0 {
|
||||
numSeriesInt64 = 1
|
||||
}
|
||||
numSeries := int(numSeriesInt64)
|
||||
|
||||
numValuesInt64, err := strconv.ParseInt(r.FormValue("values"), 10, 64)
|
||||
if err != nil {
|
||||
numValuesInt64 = int64(100)
|
||||
}
|
||||
if numValuesInt64 == 0 {
|
||||
numValuesInt64 = int64(100)
|
||||
}
|
||||
numValues := int(numValuesInt64)
|
||||
|
||||
series := make([]chart.Series, numSeries)
|
||||
|
|
|
|||
BIN
_examples/benchmark_line_charts/output.png
Normal file
BIN
_examples/benchmark_line_charts/output.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
Loading…
Add table
Add a link
Reference in a new issue