sends xml graph to server