Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 919 - Error when assigning ttfHtml TextFormat to an Annotation tool
Summary: Error when assigning ttfHtml TextFormat to an Annotation tool
Status: RESOLVED FIXED
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Chart Tools (show other bugs)
Version: TeeChart Pro Activex Control v2014 v2014.0.0.1 Release
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 09:38 EDT by yeray alonso
Modified: 2015-06-18 11:17 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-09-15 09:38:21 EDT
The code below gives this error message when trying to assign ttfHtml TextFormat.

Run-time error '-2147418113 (8000ffff):
Method 'TextFormat' of object 'ITextShape' failed


  TChart1.Header.Text.Clear
  TChart1.Header.Text.Add TChart1.Version
  TChart1.Aspect.View3D = False

  TChart1.AddSeries scPoint
  TChart1.Series(0).FillSampleValues 5
  
  TChart1.Tools.Add tcAnnotate
  TChart1.Tools.Items(0).asAnnotation.Text = "Hello Annotation"
  TChart1.Tools.Items(0).asAnnotation.Shape.TextFormat = ttfHtml

Reproducible with TeeChart ActiveX v2014.0.0.1, and v2014.0.0.2 beta but worked fine with v2013.0.1.4.
Can't reproduce it either with TeeChart VCL v2014.11, nor with the current sources.
Comment 1 sandra pazos 2015-06-18 11:17:22 EDT
The problem is fixed for TeeChart Activex v2015.0.0.2