mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Fix: makes sure the totals series is sorted
This commit is contained in:
parent
02582cab65
commit
00e99d858c
@ -145,7 +145,7 @@
|
||||
|
||||
if (!hasTotalsAlready) {
|
||||
this.addSeries({
|
||||
data: _.values(data),
|
||||
data: _.sortBy(_.values(data), 'x'),
|
||||
type: 'line',
|
||||
name: 'Total'
|
||||
}, false)
|
||||
|
Loading…
Reference in New Issue
Block a user