Page 1 of 1

Set background in code has no effect?

Posted: Thu Jun 03, 2004 2:24 am
by 8125097
I have an asp.net page that needs to have graphs added dynamically.

Most of the chart functions behave normally, but I can't change the background color or the border style of my charts.

quickChart.BorderStyle = BorderStyle.None
quickChart.BackColor = Color.Transparent
quickChart.BorderColor = Color.Transparent
quickChart.Chart.Walls.Back.Color = Color.Transparent

Any suggestions?

Posted: Thu Jun 03, 2004 8:13 am
by Pep
Hi Brian,

to change the Border Style you should use similar code the following :
WebChart1.Chart.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None
WebChart1.Chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None

About the Transparent BackGround, it should work using :
WebChart.Chart.BackColor = Color.Transparent
or
WebChart.Chart.Panel.Color = Color.Transparent
but there's a problem (bug) and does not do what should. It's already on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.