Home › forums › Chart Support › Display Datetime from php in x axis of canvasjs chart
Tagged: date, DateTime, php, x-axis
I am retrieving datetime from mysql database. I want to convert it to date in php and display it in x-axis of the canvasjs chart
Please take a look at this Gallery Page for an example on rendering chart with data retrieved from database in PHP. You can also download PHP Samples form our download page to run sample locally.
If you are still facing issue, kindly share sample project along with sample database over Google Drive or Onedrive so that we can look into the code, understand the scenario better and help you out.
You must be logged in to reply to this topic.