A Django app to plot charts and pivot charts directly from the models. Uses HighCharts and jQuery JavaScript libraries to render the charts on the webpage.
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.
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