MGD
MGD

Reputation: 783

Setting background color to achartengine graph view

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.

enter image description here

I have tried changing the layout color programmatically still no success.

Upvotes: 5

Views: 1867

Answers (1)

Dan D.
Dan D.

Reputation: 32391

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

Upvotes: 12

Related Questions