Home forums Chart Support What kind of chart I need for this type of json? Reply To: What kind of chart I need for this type of json?

#29409

Thank you so much! It worked.

1 more thing please. The code you provided converts to millesecond and it does not identify the time from my json timestamp. It converts just to date.

Is it possible you can give me an example of a chart that uses 24 hours? The one you gave me is by ‘day’. Is it possible to set it to hours? I tried ‘intervalType: day” or hour but it doesn’t work because of this conversation from the code you gave:

date = (obj.timestamp – (obj.timestamp % (24 * 60 * 60)))*1000; // to group by date