[Django]-Changing Highcharts label and sorting x-axis using Django-chartit

3👍

SORT :
DataForecast.objects.all().order_by('id')
sort query with .latest() or .order_by('-date') or by the datefield (the one you print to chart) instead of id.

Leave a comment