This commit is contained in:
Dave Tonge 2012-05-25 16:11:37 +01:00
commit 7cb5d7e9dd

View file

@ -538,6 +538,7 @@ Morris.labelSeries = (dmin, dmax, pxwidth, specName, xLabelFormat) ->
return ret
Morris.seriesAverage = (series) ->
console.log series
total = 0
for point in series
total += point.y ? 0 if point?