Home forums Using CanvasJS axisX as datetime Reply To: axisX as datetime

#22381

nkfNovalume
Member

This fixed my issue, thank you.

i passed a string to time earlier in my php using
$time = strtotime($row['Timestamp']);

sending that directly to the graph in an array with the key “x” and ofc the value “y” and setting the data’s xValueType to dateTime has fixed the problem
i now get the graph how it want it and can give it the data i feel like :)

  • This reply was modified 3 weeks, 6 days ago by  nkfNovalume.