score:1

Accepted answer

Have a look at this flot - example, it can be feeded with unix-timestamps:

http://www.flotcharts.org/flot/examples/visitors/index.html

score:2

My personal preference is for the Google Chart API's. They have good date format support: see Chart API Date Format Docs. The good thing about the API, is once you have it in a JavaScript date format, the google chart API knows how to sort, and also can change the date format for localization / formatting preference.

The only required addition to your source JSON is converting the timestamps to a Date Object. In PHP, I'd do a date('Y', $timestamp), etc. for each part of the date object. See W3 Schools for Date Object format


Related Query

More Query from same tag