Add more options for time charts

Hi guys,

I think the time chart module should be a bit more advanced to be useful for classic applications.
I would expect a hourly granularity option, and especially more aggregation functions (average being the most important).

What do you think ?