Home › Forums › Chart Support › Creating a chart from data with SQL DB [PHP] › Reply To: Creating a chart from data with SQL DB [PHP]
Can I change the type of time displayed to 24 hour format? Using your advice, I display the hour using: dps.push({"x":new Date(result[i].time), "y":result[i].temp}); on the x-axis I have an hour, however, the date is displayed on the chart next to the value, eg: “02 Sep 18:” Can I change it?
dps.push({"x":new Date(result[i].time), "y":result[i].temp});