Make chart object global, add (so far useless) checkboxes