add stairs effect
improve graph generation for timespans