Page 1 of 1
TextFormat in Annotation
Posted: Fri Sep 12, 2014 11:49 am
by 16669818
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
Re: TextFormat in Annotation
Posted: Fri Sep 12, 2014 2:50 pm
by yeray
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?
Re: TextFormat in Annotation
Posted: Fri Sep 12, 2014 2:57 pm
by 16669818
I'm using TeeChart Pro v.2014.0.0.1.140617 32bit ActiveX. Doesn't work...
Re: TextFormat in Annotation
Posted: Mon Sep 15, 2014 9:19 am
by 16669818
So there is no TextFormat for annotation in v.2014, isn't it? Is it a bug or what?
Re: TextFormat in Annotation
Posted: Mon Sep 15, 2014 1:39 pm
by yeray
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.
Re: TextFormat in Annotation
Posted: Fri Jun 19, 2015 7:30 am
by yeray
Hello,
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).