TextFormat in Annotation

TeeChart for ActiveX, COM and ASP
Post Reply
Igor
Newbie
Newbie
Posts: 16
Joined: Fri Jul 18, 2014 12:00 am

TextFormat in Annotation

Post by Igor » Fri Sep 12, 2014 11:49 am

Hi,
I'm using ActiveX component on html page and trying to access TextFormat property in Annotation via Javascript like this: Chart1.tools.items(0).asAnnotation.Shape.TextFormat. I'm getting an error saying that object doesn't have this property. I tried other properties that object Shape normally should have, they work, just TextFormat doesn't work. Need help

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TextFormat in Annotation

Post by Yeray » Fri Sep 12, 2014 2:50 pm

Hello Igor,

I see this worked with v2013.0.1.4 but not with v2014.0.0.1.

Code: Select all

  TChart1.Tools.Add tcAnnotate
  TChart1.Tools.Items(0).asAnnotation.Text = "Hello Annotation"
  TChart1.Tools.Items(0).asAnnotation.Shape.TextFormat = ttfHtml
Is v2013.0.1.4 the TeeChart version you were using?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Igor
Newbie
Newbie
Posts: 16
Joined: Fri Jul 18, 2014 12:00 am

Re: TextFormat in Annotation

Post by Igor » Fri Sep 12, 2014 2:57 pm

I'm using TeeChart Pro v.2014.0.0.1.140617 32bit ActiveX. Doesn't work...

Igor
Newbie
Newbie
Posts: 16
Joined: Fri Jul 18, 2014 12:00 am

Re: TextFormat in Annotation

Post by Igor » Mon Sep 15, 2014 9:19 am

So there is no TextFormat for annotation in v.2014, isn't it? Is it a bug or what?

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TextFormat in Annotation

Post by Yeray » Mon Sep 15, 2014 1:39 pm

Hello,

Excuse us for the delayed reply here.
I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=919

In the meanwhile you could try if v2013.0.1.4 works fine for you.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TextFormat in Annotation

Post by Yeray » Fri Jun 19, 2015 7:30 am

Hello,
Yeray wrote:I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=919
This is just to let you know we closed this ticket since we couldn't reproduce it any more with the latest version available at the customer area (v2015.0.0.2).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply