Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Helper API refactor #40

Merged
merged 18 commits into from
May 13, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dont need to use curl, just using wget
  • Loading branch information
Will Charczuk committed May 12, 2017
commit 4d9388395395a94747adb9d8707ca6dc5f6349bd
8 changes: 4 additions & 4 deletions _examples/custom_padding/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
},
Series: []chart.Series{
chart.ContinuousSeries{
XValues: seq.Wrap(seq.NewLinear().WithStart(1.0).WithEnd(100.0)).Array(),
YValues: seq.Wrap(seq.NewRandom().WithLen(100).WithAverage(256)).Array(),
XValues: seq.Range(1.0, 100.0),
YValues: seq.New(seq.NewRandom().WithLen(100).WithAverage(256)).Array(),
},
},
}
Expand All @@ -58,8 +58,8 @@ func drawChartDefault(res http.ResponseWriter, req *http.Request) {
},
Series: []chart.Series{
chart.ContinuousSeries{
XValues: seq.Wrap(seq.NewLinear().WithStart(1.0).WithEnd(100.0)).Array(),
YValues: seq.Wrap(seq.NewRandom().WithLen(100).WithAverage(256)).Array(),
XValues: seq.Range(1.0, 100.0),
YValues: seq.New(seq.NewRandom().WithLen(100).WithAverage(256)).Array(),
},
},
}
Expand Down
Binary file modified _examples/custom_padding/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _examples/custom_ranges/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.