Page 1 of 1
How do you set the color of chart "drawing" area???
Posted: Wed Dec 05, 2018 7:00 am
by 13049545
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)
- clientarea.jpg (82.78 KiB) Viewed 12076 times
. any help would be greatly appreciated.Thanks very much.
Re: How do you set the color of chart "drawing" area???
Posted: Wed Dec 05, 2018 7:53 am
by Christopher
Hello,
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;
}
will give you this chart:
- TeeChartPro_2018-12-05_08-50-32.png (5.84 KiB) Viewed 12074 times
I hope that answers your question!
Re: How do you set the color of chart "drawing" area???
Posted: Wed Dec 05, 2018 8:36 am
by 13049545
I spent hours on this! Thanks very much!!!