Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Bar charts should renders bars in sorted order #230

Closed
sushrut141 opened this issue Apr 3, 2019 · 1 comment
Closed

Bar charts should renders bars in sorted order #230

sushrut141 opened this issue Apr 3, 2019 · 1 comment

Comments

@sushrut141
Copy link

Do you want to request a feature or report a bug?

  • enhancement

What is the current behavior?
If a bar chart or a crosstab of bars charts is plotted, the bars appear in random order.
Ideally, the bars should be sorted in ascending or descending order based on the aggregated value of each bar.
In a crosstab of bar charts, user should have option of specifying which cell in the crosstab should be sorted.

What is the expected behavior?
Bars should be pre sorted before rendering.

Which versions of MuzeJS, and which browser/OS are affected by this issue? Did this work in previous versions of MuzeJS?

  • latest
@adotg
Copy link
Contributor

adotg commented Apr 3, 2019

This is not a valid req for lib end. A lib should be able to persist the order given by user. If you need the data to be sorted it has to be sorted from outside.

@adotg adotg closed this as completed Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants