add support for time x axis