Modified build_graphite_series function
so we can easily use both stacked and line metrics in 1 graph, by using
the stacked() function
Cleaned up a bit

Change-Id: Ibc5977dc1900ba39427f2fea8deb07fd8915fabc