fixing travis bust.

This commit is contained in:
Will Charczuk 2016-07-28 14:35:17 -07:00
parent 4d41de533f
commit d088213b1e

View file

@ -26,12 +26,12 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0}, YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0},
}, },
chart.AnnotationSeries{ chart.AnnotationSeries{
Annotations: []chart.Annotation{ Annotations: []chart.Value2{
{X: 1.0, Y: 1.0, Label: "One"}, {XValue: 1.0, YValue: 1.0, Label: "One"},
{X: 2.0, Y: 2.0, Label: "Two"}, {XValue: 2.0, YValue: 2.0, Label: "Two"},
{X: 3.0, Y: 3.0, Label: "Three"}, {XValue: 3.0, YValue: 3.0, Label: "Three"},
{X: 4.0, Y: 4.0, Label: "Four"}, {XValue: 4.0, YValue: 4.0, Label: "Four"},
{X: 5.0, Y: 5.0, Label: "Five"}, {XValue: 5.0, YValue: 5.0, Label: "Five"},
}, },
}, },
}, },