tweaking example.

This commit is contained in:
Will Charczuk 2016-08-11 20:43:38 -07:00
parent 2e41dfd5db
commit 9c53de511a
2 changed files with 0 additions and 20 deletions

View File

@ -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{
@ -107,8 +89,6 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
},
Series: []chart.Series{
mainSeries,
minSeries,
maxSeries,
linreg,
chart.LastValueAnnotation(linreg),
sma,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 120 KiB