Fixed bug

* Changed to send message to chart window