added code for graph - ycoord circle issues