Friday, 16 October 2015

amcharts dateformat


"dataDateFormat": "YYYY-MM-DD-HH",
this only useful if your date is string type.





if your date is Date type or it is right format String e.g.: 2015-09-09 12:12:12

"minPeriod": "hh", will make your data shows hourly.

http://www.amcharts.com/demos/area-with-time-based-data/







 "categoryBalloonDateFormat": "YYYY-MM-DD HH:00", in  "chartCursor": {

is used to format date display in popup window and X-Axis.


No comments:

Post a comment