Add a running total of filament used by layer

I would like to see a running total of filament used (in grams) at each layer of the print. When using the slider (on the right) to view review the print it would be helpful to see how much filament has been used at that point.

I do not have an AMS and when I know I will need to swap spools during a print it would be nice to be able to judge at the approximate layer it will run out.