You can set the margins by using:
defaultRenderer.setMargins(margins);
You can disable panning this way:
defaultRenderer.setPanEnabled(false, false);
You can create a chart in a view and embed it inside an activity that you define the layout for, see this.