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

Suggestion: sort columns #222

Closed
AbeHandler opened this issue May 8, 2014 · 2 comments
Closed

Suggestion: sort columns #222

AbeHandler opened this issue May 8, 2014 · 2 comments

Comments

@AbeHandler
Copy link

Great library. I'd love a way to automatically sort columns in an easy way so that bigger columns come first in the chart etc.

@kjavia
Copy link

kjavia commented May 13, 2014

Have you tried sorting the data itself before feeding it to the chart? I think if the data is sorted by descending, it will maintain that order while drawing the chart.

@masayuki0812
Copy link
Member

I agree with the idea to sort before loading and please try this solution. However, I might add some callback that is called when data is loading. I think it would be useful when loading as CSV because now there is no way to manipulate the data and data will be loaded as it is.

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

No branches or pull requests

3 participants