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
OnGetTitleText event?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |