Axis & Legend on website

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Axis & Legend on website

Post by MikeTheLad » Thu Jun 15, 2006 3:08 pm

I am trying to remove the Axis & Legend from a teechart on a website, i am using Visual Studio 2005, code is:-

Steema.TeeChart.Axis axis = new Steema.TeeChart.Axis(this.WebChart1.Chart);

Steema.TeeChart.Legend legend = new Steema.TeeChart.Legend(this.WebChart1.Chart);

axis.Visible = false;
legend.Visible = false;

Can anybody help me

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jun 16, 2006 8:57 am

Hi MikeTheLad,

You can hide default axes and legend using this:

Code: Select all

    WebChart1.Chart.Axes.Left.Visible = false;
    WebChart1.Chart.Axes.Bottom.Visible = false;
    WebChart1.Chart.Legend.Visible = false;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply