add draw chart back (was left out in last commit)