add chart selection and display to skeleton
remove obsolete code