ramido / choosel

Automatically exported from code.google.com/p/choosel
0 stars 0 forks source link

Sorting in Bar Chart #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Enable sort by value and by bar name.

Original issue reported on code.google.com by Lars.Grammel on 27 Feb 2011 at 3:57

GoogleCodeExporter commented 9 years ago
Implemented sorting by value per default. The rest is postponed to future issue 
tracker items.

Original comment by Lars.Grammel on 28 Feb 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Reopened - the sort order is unstable. Test & fix.

Original comment by Lars.Grammel on 1 Mar 2011 at 4:23

GoogleCodeExporter commented 9 years ago
It turns out that Ecma script does not require sorting to be stable:

http://stackoverflow.com/questions/3195941/sorting-an-array-of-objects-in-chrome

Will implemented workaround.

Original comment by Lars.Grammel on 1 Mar 2011 at 5:29

GoogleCodeExporter commented 9 years ago
Implemented sortStable in JsArrayGeneric & used it in bar chart.

Original comment by Lars.Grammel on 2 Mar 2011 at 4:49