Group sale by days using mysql

QuestionsGroup sale by days using mysql
sethbeckerman5 Staff asked 4 years ago

I need to group sales by days or weeks, but I get the graph like this
view
this is the view code
function datagrafico(base_url){

plotOptions: {
column: {
pointPadding: 0.2,
borderWidth: 0
},
series:{
dataLabels:{
enabled:true,
formatter:function(){
return Highcharts.numberFormat(this.y)
}

this is the controller

and this is the models


View on Stack Overflow