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

Commit

Permalink
tweaking example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Charczuk committed Aug 12, 2016
1 parent 2e41dfd commit 9c53de5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions _examples/request_timings/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,6 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
YValues: yvalues,
}

minSeries := &chart.MinSeries{
Style: chart.Style{
Show: true,
StrokeColor: chart.ColorAlternateGray,
StrokeDashArray: []float64{5.0, 5.0},
},
InnerSeries: mainSeries,
}

maxSeries := &chart.MaxSeries{
Style: chart.Style{
Show: true,
StrokeColor: chart.ColorAlternateGray,
StrokeDashArray: []float64{5.0, 5.0},
},
InnerSeries: mainSeries,
}

linreg := &chart.LinearRegressionSeries{
Name: "Linear Regression",
Style: chart.Style{
Expand Down Expand Up @@ -107,8 +89,6 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
},
Series: []chart.Series{
mainSeries,
minSeries,
maxSeries,
linreg,
chart.LastValueAnnotation(linreg),
sma,
Expand Down
Binary file modified _examples/request_timings/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9c53de5

Please sign in to comment.