chart generated from socket