Added emit to indicate chart has been drawn.