Cumulative flow diagram (CFD) shows the distribution of cards by stages. For a kanban board or an unscheduled sprint, the chart is calculated for the last two weeks. For a scheduled sprint, the chart is calculated for the configured duration of the sprint. CFD is good for monitoring your progress, better understanding the workflow, and detecting bottlenecks. It is especially useful when you have a "Done" state to represent completed tasks. It may have other names, like "Fixed" for software bugs, or "Ready for shipment" for manufactured products.
To view Cumulative Flow, ypu need to set it up in the Board Settings > Chart tab, and then click the Charts () button in the right-hand toolbar of the board.
YouTrack shows Cumulative Flow indicating distribution of cards in all stages with colors which represent the columns on the board.
Move the pointer over a date on the chart to see the number of cards at all the stages.
On this graph, the vertical axis shows the number of cards, and the horizontal axis represents time (Each tick corresponds to the midnight of the pointed date).
To see how quickly you are getting things done, look at the two regions between the Done area and the Open area. It represents your WIP. Basically, the steeper the angle at which it diminishes, the faster you are completing your workload and nearing the final release date.
Also, these two regions are supposed to shrink with time. If they are expanding, that could be a sign of a bottleneck. It can also mean that you are adding more work to your system than your current capacity allows.
Adjust Cumulative Flow Diagram
By default, the chart is calculated by all the cards that are present on the board at the moment. You can also apply a search query to the chart to determine which cards, or even swimlanes, should be taken into account on the chart.
To filter the cards that are calculated in the chart:
Open the Chart tab of the Board Settings. Alternatively, if you view a chart already, then you can click the pencil (Edit) button in the right-hand corner of the chart.
In the Issue Filter parameter, toggle to the Custom option.
In the displayed Query field, enter the desired search query.
Click the Recalculate button to apply the query and immediately re-draw the chart.