Use epoch to graph data from influxdb.