Chartjs-ChartJs: x-axes min and max value not working

0👍

Because you have them the wrong way round. Min would be from, and max would be to.

           ticks: {
            min: $("#date_from").datepicker("getDate"),
            max: $("#date_to").datepicker("getDate"),
            fontSize: 10,
            display: true,
            }

Leave a comment