Page 1 of 1

Displaying math expression into graph title

Posted: Mon Feb 04, 2008 8:50 am
by 9339785
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

Posted: Wed Feb 06, 2008 11:09 am
by 9339785
no reply .... so, it is not possible to display math expression into axes title or graph title ?

Franck

Posted: Thu Feb 07, 2008 10:09 am
by 9337510
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!

Posted: Fri Feb 08, 2008 5:52 pm
by Pep
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');