Page 1 of 1

Setting TEEChart WPF Background

Posted: Tue May 20, 2008 4:00 pm
by 9788264
How do you set the chart background color in TeeChart WPF (I'm currently using the beta).

I thought that the following would work, but the entire rectangle is black, as if there was an overlay covering the entire chart area.

Code: Select all

Steema.TeeChart.WPF.TChart chart = new Steema.TeeChart.WPF.TChart();
chart.Background = Brushes.Black;
Thanks, Mike

Posted: Wed May 21, 2008 8:01 am
by narcis
Hi Mike,

In that case you need to do this:

Code: Select all

			tChart1.Panel.Color = Colors.Black;
			tChart1.Panel.Gradient.Visible = false;
			tChart1.Walls.Back.Visible = false;