client: doing chart