Add ability to specify explicit margin sizes to graphs.

Set the defaults so that reasonable values fit. Allow applications to
configure any combination of margins explicitly by using separate
fields.