i have a graph generated as below 
I have couple of problems here:
1) how to remove that black border
2) how to add gradient to the bars.
3) how to remove the space below the legends.
this is my code:
For Background problem this is my code:
After adding the drawable i am facing this problem and also i want to add an image to that and not color, i have tried with white color it doesent show black border? why is that?
XYMultipleSeriesRenderer multiRenderer = new XYMultipleSeriesRenderer();
multiRenderer.setInScroll(true);
multiRenderer.setShowAxes(false);
multiRenderer.setApplyBackgroundColor(true);
multiRenderer.setBackgroundColor(Color.TRANSPARENT);
multiRenderer.setMarginsColor(R.drawable.background);
For gradient i tried like this but didnt work:
samplseries.setGradientEnabled(true);
samplseries.setGradientStart(Color.rgb(120,188,219));
samplseries.setGradientStop(Color.rgb(74, 155, 192));
You tried the code for that and it didn’t even compile. The
setGradientStartandsetGradientStopmethods expect two parameters: the value to start / stop the color and the color.renderer.setFitLegend(true);