OnGetTitleText event?
Posted: 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
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