Page 1 of 1

"TeeChart" titl

Posted: Mon Sep 18, 2006 9:52 am
by 9792366
We want to Remove "TeeChart" title for TeeChart control for all report web forms. Please let us know how we could achieve the same

Posted: Mon Sep 18, 2006 10:27 am
by narcis
Hi Vikas,

You can do it at design-time using the chart editor or at run-time using:

Code: Select all

			WebChart1.Chart.Header.Visible=false;

problem in case of blank chart

Posted: Tue Sep 19, 2006 7:08 am
by 9792366
Hi Narcis,
It works fine when chart is plotted sucessfully in case of error or case when no chart is plotted chart holder xome with the title "teechart"

Posted: Tue Sep 19, 2006 8:24 am
by narcis
Hi Vikas,

Making the title not visible it doesn't mean it doesn' have a title. To remove the title's content you should use:

Code: Select all

      WebChart1.Chart.Header.Text = "";