Added test of time based charts
Minor fix to charts from from simple data structure