Implemented basic stacked graphs
Move calculation of baseline of stacks to graph

This means it can be shared by tooltip, so they display in the correct position. Also summing values before scaling means the top line on a stacked one-hundred-percent graph is flat and not wobbly.