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

column chart data is being sorted by y-axis values #63

Closed
danshea opened this issue Jul 18, 2019 · 1 comment
Closed

column chart data is being sorted by y-axis values #63

danshea opened this issue Jul 18, 2019 · 1 comment

Comments

@danshea
Copy link

danshea commented Jul 18, 2019

Hello,

I'm trying to figure out why my QuerySet is being re-ordered when plotted via chartit. The data set is filtered() and then order_by() is called. I've verified the output of those calls is as expected.

However, when I examine the output produced after the django templating creates the source HTML, the series is re-ordered in the HTML file.

I tried to reproduce it using highcharts without chartit in between, but it seems that chartit is re-ordering the QuerySet?

Is this something that can be disabled during the Chart call, or is this the expected behavior of the function?

Sorry if this is a silly question, but I can't find any documentation referencing this behavior in chartit or highcharts.

Regards,
Dan

@danshea
Copy link
Author

danshea commented Jul 19, 2019

I ended up switching out chartit to just calling highcharts directly.
So I'm going to close this issue.

Regards,
Dan

@danshea danshea closed this as completed Jul 19, 2019
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

1 participant