Write a special character in an annotation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Write a special character in an annotation

Post by bertrod » Wed Oct 04, 2006 3:56 pm

Hello,

I have a difficult question : I would need to write greek symbols for some mathematic equations or units in an annotation. For exemple, I need to write the greek letter mu to show 'microvolt' units.

I think it is not possible now, but I would like to try to customize the TAnnotationTool to use a TNTWare component in it, in order to write such specific symbols.

What do you think ? Would there be another way to do it in your opinion ?

Pep
Site Admin
Site Admin
Posts: 3161
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Oct 06, 2006 4:46 pm

Hi bertrod,

I think the example included into the Demo features project under :
All Features -> Canvas -> 3D Canvas -> RichText Drawing
could help you.
RichText controls (RTF) can be used with Chart.Canvas to draw text with extended formatting.

bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Post by bertrod » Wed Oct 11, 2006 7:28 am

Hi,

I looked at the example and it seems quite interesting. However, I would like to keep the features of an annotation : changing the border, the background and moving it very easily with the SelectorTool.

Do you think it would be possible to use a RichText component within the TAnnotationTool ?

Pep
Site Admin
Site Admin
Posts: 3161
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Oct 11, 2006 10:29 am

Hi bertrod,
Do you think it would be possible to use a RichText component within the TAnnotationTool ?
I'm afraid there's not other way.

Post Reply