chart data from server via websocket