Semi-dynamic layout with charts

I forked the layout to support dynamic creation of elements