chop-dbhi / cilantro

Official client for Harvest (http://harvest.research.chop.edu)
http://cilantro.harvest.io
Other
28 stars 8 forks source link

Chart doesn't render datetime field values #740

Closed naegelyd closed 10 years ago

naegelyd commented 10 years ago

Marked as needsinfo since this was reported in the Harvest Talk room and I have not confirmed yet.

Original report:

I have a question on dates management though. My dates fields are not plotted in cilandro
the reason is that my DB has datetime and it seems that the graph expect only date.
My question is: is there a recommended way to handle this formatting in the Harvest stack?

The behavior described above is vague so we will need to test and recreate this error.

murphyke commented 10 years ago

I have confirmed this behavior in my PCGC app. A DateTimeField has an empty chart on the query page. The X axis is drawn and the axes' labels are drawn, but there is no data in the chart. No javascript errors are reported. I can see date-time data coming back in the /api/fields/2148/dist/ response.