Issue975 state graph

This covers issue #975  - where we wish to switch to showing stacked bars