Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 401
MGD Avatar asked Apr 27 '13 19:04

MGD


1 Answers

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

like image 153
Dan D. Avatar answered Oct 19 '22 06:10

Dan D.