OnGetTitleText event?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
rackerson
Newbie
Newbie
Posts: 22
Joined: Mon Mar 08, 2004 5:00 am
Location: Edison, New Jersey USA

OnGetTitleText event?

Post by rackerson » Fri Dec 29, 2006 6:30 pm

I am using TeeChart 7 with Delphi 6.

I have been asked to allow users to insert a variable into titles/footers. When a chart is visible or printed, the variable would display the contents it represents. In this case, the user wants to insert a variable that will always show the current date so viewing the chart today will show 12/29/2006 and viewing it tomorrow would show 12/30/2006.

I have seen TeeChart's events for OnGetLegendText and OnGetMarkText. Is there anything similar for Titles so I may intercept a title such as "Last Viewed: <%D%>" and have the system automatically replace the variable "<%D%>" with the current date?

Thanks and happy new year!

Rich

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 02, 2007 9:58 am

Hi Rich,

Thanks and happy a great 2007.

I'm afraid such event doesn't exist. You can try implementing this in the OnBeforeDrawChart event or other similar event.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply