[ ] bug report - search github for a similar issue or PR before submitting
[ ] feature request
[x ] support request - use StackOverflow (add the ngx-charts tag) or the gitter chat for support questions
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
I'm submitting a ... (check one with "x")
ngx-charts
tag) or the gitter chat for support questionsCurrent 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
ngx-charts version: 7.4.0
Angular version: 5.2.3
Browser: all
Language: TypeScript