0

I have found the following post during looking for a solution to remove space below my AndroidPlot.

How do I remove all space around a chart in AndroidPlot?

Widget gw = mPlot.getGraph();    
    Size size = new Size(0,SizeMode.FILL,0,SizeMode.FILL);    
    gw.setSize(size);
    gw.position(0, HorizontalPositioning.ABSOLUTE_FROM_LEFT,0, VerticalPositioning.ABSOLUTE_FROM_TOP);

I am not sure, if this Solution still works or if the solution doesn't work anymore or if I simply made an error while implementing it.

A picture to make it more clear:

enter image description here

Thanks for help,

Franzi

jps
  • 20,041
  • 15
  • 75
  • 79
Franz
  • 358
  • 6
  • 18

1 Answers1

0

It was more simple than I thought.

I solved the problem by add thing the following code:

mPlot.getGraph().setMarginBottom(0);    
Franz
  • 358
  • 6
  • 18