How do you set the color of chart "drawing" area???
How do you set the color of chart "drawing" area???
I've looked through every setting in the properties dialog for TChart and can't set the "drawing area" color for the chart for the life of me (see attachment)
. any help would be greatly appreciated.Thanks very much.-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: How do you set the color of chart "drawing" area???
Hello,
the following code:
will give you this chart:
I hope that answers your question!
the following code:
Code: Select all
private void InitializeChart()
{
tChart1.Panel.Color = Color.Red;
tChart1.Walls.Back.Visible = true;
tChart1.Walls.Back.Transparent = false;
tChart1.Walls.Back.Gradient.Visible = false;
tChart1.Walls.Back.Color = Color.Yellow;
}
I hope that answers your question!
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: How do you set the color of chart "drawing" area???
I spent hours on this! Thanks very much!!!