Page 1 of 1

Background color change

Posted: Wed Mar 17, 2010 5:43 am
by 5890388
Hi,
Although it sounds simple, but I am not able to change the background color of the charts. This is the area that lies between the axes. Kindly let me the method to do so.
Thanks,
Mausam

Re: Background color change

Posted: Wed Mar 17, 2010 10:32 am
by yeray
Hi Mausam,

As told to you through the prosupport a few days ago:

You are probably missing to deactivate the back wall gradient. The following code seems to work fine here:

Code: Select all

       tChart1.getWalls().getBack().setColor(java.awt.Color.yellow);
       tChart1.getWalls().getBack().getGradient().setVisible(false);
If you still have problems with it, please don't hesitate to let us know.

Re: Background color change

Posted: Wed Mar 17, 2010 12:23 pm
by 5890388
Thanks Yeray,

This is working. :)