Displaying math expression into graph title

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
franckgar
Advanced
Posts: 109
Joined: Thu Nov 04, 2004 5:00 am

Displaying math expression into graph title

Post by franckgar » Mon Feb 04, 2008 8:50 am

Hi,
Is it possible to display math expression into axes title or graph title like this :

http://cjoint.com/?cejXDtOBcj

[img]C:\temp\GraphTitle.JPG[/img]

Thanks
Franck

franckgar
Advanced
Posts: 109
Joined: Thu Nov 04, 2004 5:00 am

Post by franckgar » Wed Feb 06, 2008 11:09 am

no reply .... so, it is not possible to display math expression into axes title or graph title ?

Franck

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Thu Feb 07, 2008 10:09 am

Hi Franck

I dont know how to to it - but I might have a go at putting a image of it onto the screen - I have done something a bit similar using the legend (See symbol ondraw in the demo) - not perfect by it might work.

Converting equations into images worked well for me.

Otherwise you need a teegraph guru to help!

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

Post by Pep » Fri Feb 08, 2008 5:52 pm

Hi Franck,

I'm afraid this is not going to be possible, you can display superscripts by using : Chart1.Title.Caption := 'm ' + AnsiString(char(179));
But no the expression you're trying to show. My suggestion would be to add as an image into the title frame, you can make it visible by setting the Transparent property to false, and then load an image :
Chart1.Title.Transparent := false;
Chart1.Title.Picture.LoadFromFile('c:\x.bmp');

Post Reply