Fix wrong values in legend when using stackedGraph with missing values
See http://jsfiddle.net/6W7EQ/2/