code refactoring...
 - remove 'chart' parameter in 'draw and drawBefore method'