Added graph to SineDemo

Reinstated graph view, ported some more bits of graphing to transact to
do this.