fixes for cumulative flow diagram (issue #19)