inching up coverage.

This commit is contained in:
Will Charczuk 2016-07-10 23:06:14 -07:00
parent 18a6e3eed1
commit 56da554741
10 changed files with 315 additions and 92 deletions

View file

@ -54,7 +54,7 @@ graph := chart.Chart{
},
Annotations: []chart.Annotation{
chart.Annotation{
X: float64(xvalues[len(xvalues)-1].Unix()), //todo: helpers for this.
X: chart.TimeToFloat64(xvalues[len(xvalues)-1]),
Y: yvalues[len(yvalues)-1],
Label: chart.FloatValueFormatter(yvalues[len(yvalues)-1]),
},