Modified graph width from px to %