Updated newChart to add on focusOut. Test work better now