From d088213b1e87bb02ae545cce58b412ccd925d48a Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Thu, 28 Jul 2016 14:35:17 -0700 Subject: [PATCH] fixing travis bust. --- examples/annotations/main.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/annotations/main.go b/examples/annotations/main.go index 74242e4..84220b1 100644 --- a/examples/annotations/main.go +++ b/examples/annotations/main.go @@ -26,12 +26,12 @@ func drawChart(res http.ResponseWriter, req *http.Request) { YValues: []float64{1.0, 2.0, 3.0, 4.0, 5.0}, }, chart.AnnotationSeries{ - Annotations: []chart.Annotation{ - {X: 1.0, Y: 1.0, Label: "One"}, - {X: 2.0, Y: 2.0, Label: "Two"}, - {X: 3.0, Y: 3.0, Label: "Three"}, - {X: 4.0, Y: 4.0, Label: "Four"}, - {X: 5.0, Y: 5.0, Label: "Five"}, + Annotations: []chart.Value2{ + {XValue: 1.0, YValue: 1.0, Label: "One"}, + {XValue: 2.0, YValue: 2.0, Label: "Two"}, + {XValue: 3.0, YValue: 3.0, Label: "Three"}, + {XValue: 4.0, YValue: 4.0, Label: "Four"}, + {XValue: 5.0, YValue: 5.0, Label: "Five"}, }, }, },