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

How to enforce column order for cols? #15

Open
lizhaney opened this issue Jul 31, 2018 · 1 comment
Open

How to enforce column order for cols? #15

lizhaney opened this issue Jul 31, 2018 · 1 comment

Comments

@lizhaney
Copy link

Scatterpie is reordering my data that includes 10,000 and 100,000 so that 100,000 comes before 20,000. How can I enforce the order of my columns? I tried using factor but can't quite figure this out. Thanks!

image

@GeohunterX
Copy link

A simple workaround would be to make sure your data is stored in a format where all numbers have the same amount of digits (23,000 -> 023,000). This will ensure a right ordering. If you mind having these entries also in the legend, rename the entries it with scale_fill_manual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants