restructuring, charts execute pipeline, not state

also fixed StackedHistograms