Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing pie chart order #3593

Closed
blakegearin opened this issue Oct 6, 2022 · 5 comments · Fixed by #3609
Closed

Changing pie chart order #3593

blakegearin opened this issue Oct 6, 2022 · 5 comments · Fixed by #3609
Labels
Good first issue! Type: Other Not an enhancement or a bug

Comments

@blakegearin
Copy link

Is it possible pass a flag to change the order of the slices in a pie chart to match the label order instead of biggest to smallest value?

These look the same even though the labels are in a different order.

pie title Pets adopted by volunteers
    "Dogs" : 386
    "Cats" : 85
    "Rats" : 15
Loading
pie title Pets adopted by volunteers
    "Dogs" : 386
    "Cats" : 85
    "Rats" : 15
pie title Pets adopted by volunteers
    "Dogs" : 386
    "Cats" : 85
    "Rats" : 15
Loading
pie title Pets adopted by volunteers
    "Cats" : 85
    "Rats" : 15
    "Dogs" : 386

Docs: https://mermaid-js.github.io/mermaid/#/pie

@blakegearin blakegearin added the Type: Other Not an enhancement or a bug label Oct 6, 2022
@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Oct 6, 2022
@knsv knsv added Good first issue! and removed Status: Triage Needs to be verified, categorized, etc labels Oct 8, 2022
@ArsalanAli915
Copy link

Hi, my name is arslalan ali. I would like solve this problem and want to contribute to open source in the month October. please assign me.

@DIvkov575
Copy link

DIvkov575 commented Oct 10, 2022

Could I please be assigned to this issue? I have experience with full-stack JS and am interested in contributing.

@utsavs22
Copy link

Hello, I am Utsav Sinha. I can solve this issue by allowing custom labelling which will result in the flexibility for the user to select the order according to their need.

@Manishgupta200
Copy link

Assign it to me. I would like to work on this issue.

@Abhishekjoshi7
Copy link

Please assign this to me, will solve it within 48 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue! Type: Other Not an enhancement or a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants