Bargraph connected with a websocket