swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

Labels sorting customization #923

Open anshulCoder opened 6 years ago

anshulCoder commented 6 years ago

I'm submitting a ... (check one with "x")

Current behavior I'm using a stack normalized vertical bar chart and I have given an option to sort the stack bars highest to lowest and reverse, but whenever we use that option stack sorts perfectly but legend goes in random sort order.

Expected behavior Stack sorting customization according to data random sort order, optionally legend order can also be set using 1 stack sort order, currently its picking up a random sort order

Reproduction of the problem https://imgur.com/P6E6MWH Currently sorted on lowest bar to highest

Please tell us about your environment: Amazon s3, Atom IDE

kuncevic commented 4 years ago

Is there any updates on that issue?

cgo123 commented 3 years ago

Is there any updates on that issue?