added sideMargin in graphProperties