tweaks to the gchart code