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?
Set background in code has no effect?
-
- Newbie
- Posts: 16
- Joined: Fri Apr 16, 2004 4:00 am
- Location: Chicago
- Contact:
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.
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.
Pep Jorge
http://support.steema.com
http://support.steema.com