Added chart controller and test
Added chart and panel hiding