worked on graph border and margins.