Creating line charts with irregular time intervals