0👍
In the model you have used the Where statement wrong.
Replace
where("datavencimento BETWEEN '$minvalue' AND '$maxvalue' ")
to
where("datavencimento BETWEEN '$minvalue' AND '$maxvalue' ",null,false)
in both query.
- Chartjs-Plot line graph in Chartjs 2 when number of data in yaxis is not eqaul to number of data in xaxis
- Chartjs-Angular-chart.js – chart height not working on iOS but works fine on Android and Web
Source:stackexchange.com