draw chart on hash change