Skip to content

Commit

Permalink
Merge pull request #506 from EverythingMe/small_fixes
Browse files Browse the repository at this point in the history
Fix: makes sure the totals series is sorted
  • Loading branch information
arikfr committed Jul 23, 2015
2 parents da56dc8 + 00e99d8 commit 5f5774d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rd_ui/app/scripts/ng_highchart.js
Expand Up @@ -145,7 +145,7 @@

if (!hasTotalsAlready) {
this.addSeries({
data: _.values(data),
data: _.sortBy(_.values(data), 'x'),
type: 'line',
name: 'Total'
}, false)
Expand Down

0 comments on commit 5f5774d

Please sign in to comment.