Question about Chart panel border

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
David
Newbie
Newbie
Posts: 4
Joined: Wed Nov 12, 2003 5:00 am
Location: Sweden

Question about Chart panel border

Post by David » Wed Dec 17, 2003 10:45 am

How do I get rid of the grey border that is drawn around my chart ?
Check screenshot: http://www.lowrad.net/files/screenshots/border.jpg

Thanks!
/David.

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Dec 17, 2003 1:40 pm

Hi David,

you can do :

Code: Select all

WebChart1.Chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
WebChart1.Chart.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
Josep Lluis Jorge
http://support.steema.com

David
Newbie
Newbie
Posts: 4
Joined: Wed Nov 12, 2003 5:00 am
Location: Sweden

Still no change

Post by David » Fri Dec 19, 2003 9:26 am

It still looks the same. I've added this code:

tChart1.Chart.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
tChart1.Chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
tChart1.Chart.Panel.Bevel.Width = 0;

tChart1.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
tChart1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
tChart1.Panel.Bevel.Width = 0;

/D.

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Dec 22, 2003 12:22 pm

Hi David,

which code are you using to custimize the WebChart (color, border style,.. ) ?

I can't see any borders just placing a WebChart on the WebForm and using the following code :

Code: Select all

private void Page_Load(object sender, System.EventArgs e)
{
    WebChart1.Chart.Panel.Color = Color.White;
    WebChart1.Chart.Series[0].FillSampleValues(10);
    WebChart1.Chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None; 
    WebChart1.Chart.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None; 
}
Josep Lluis Jorge
http://support.steema.com

Post Reply