Setting background color to achartengine graph view

achartengine, android

Solution

You can do that using `renderer.setMarginsColor(color);`

Problem

I am using Achartengine for my application as chart generation tool, I am not able to change the main background view of the chart though the theme is sel as "light holo" (ICS) still it gets black when I add the GraphicalView to the linear layout. The attached image can be helpful. I have tried changing the layout color programmatically still no success.

Original source