mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-14 07:41:11 +01:00
Merge branch 'master' of https://github.com/davidgtonge/morris.js
This commit is contained in:
commit
7cb5d7e9dd
1 changed files with 1 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue