Home › Forums › Chart Support › Problem with MYSQL to PHP to CanvasJS charts › Reply To: Problem with MYSQL to PHP to CanvasJS charts
You can control number of labels by setting interval property. You can try setting interval to 1 along with intervalType to day in your case.
The date seems to be repeated as you are showing just date, where the labels are displayed at every 6hours, when the chart width is morethan 1000px. Please check this updated jsfiddle. Setting interval and intervalType should work fine in this case.