chart added to GUI