Fix: makes sure the totals series is sorted

This commit is contained in:
Arik Fraimovich 2015-07-23 15:03:18 +03:00
parent 02582cab65
commit 00e99d858c

View File

@ -145,7 +145,7 @@
if (!hasTotalsAlready) {
this.addSeries({
data: _.values(data),
data: _.sortBy(_.values(data), 'x'),
type: 'line',
name: 'Total'
}, false)