promote 'chart' variable
make converter a separate function in priv
move trackOffset into priv.draw
move private drawing functions into priv.render