Home › forums › Using CanvasJS › Convert to date format › Reply To: Convert to date format
Now, almost done.
I have set valueFormatString: "DD-MMM-YYYY HH-mm", for axisX.
valueFormatString: "DD-MMM-YYYY HH-mm",
1) If there are a few records,date time are displayed twice on x-axis.
2) As the no. of records increases in the same day, X-axis labels are not displayed for in-between records. Displayed after every 10 records.
3) If there is data for different dates, obviously there is no data during off-market hours. But X-axis space is reserved for these empty slots. You can view it in the jsfiddle below.
What should be corrected?
This jsfiddle shows the result.