How to Check that Tee Chart Title is Empty and How Get Title

TeeChart for ActiveX, COM and ASP
Post Reply
Faizullah Khan
Newbie
Newbie
Posts: 50
Joined: Wed Apr 26, 2006 12:00 am

How to Check that Tee Chart Title is Empty and How Get Title

Post by Faizullah Khan » Thu Nov 23, 2006 9:14 am

Hi

1-How we ckeck that the title of Chart is empty .
2-How we get title of Chart.

Thanks & Regards

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

Post by Narcís » Thu Nov 23, 2006 10:11 am

Hi Faizullah,

1. You can do it like this:

Code: Select all

    If TChart1.Header.Text.Count = 0 Then
        'Put your code here
    End If
2. You can get it using TChart1.Header.Caption or TChart1.Header.Text.
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

Faizullah Khan
Newbie
Newbie
Posts: 50
Joined: Wed Apr 26, 2006 12:00 am

Post by Faizullah Khan » Fri Nov 24, 2006 11:13 am

Hi

2- You can get it using TChart1.Header.Caption or TChart1.Header.Text

Header not have "Caption" Property

TChart1.Header.Caption

And This is not a proper Sentex

TChart1.Header.Text

We can get Title in this way

Code: Select all

 TChart1.Header.Text.Item(0) 
Thanks With Regards

Post Reply