Page 1 of 1

Axis & Legend on website

Posted: Thu Jun 15, 2006 3:08 pm
by 8123522
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

Posted: Fri Jun 16, 2006 8:57 am
by narcis
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;