Hello There,
I am using T-Chart version 707 for Builder 6.
I am trying to hide the items I display on the T-Chart using the Canvas.
For example, I am using TChart->Canvas->Line() function to draw a line on the chart and TChart->Canvas->TextOut() function to display some text on the chart. I am able to do this but I am not able to hide the text. I need to hide the line and the text depending on user's choice.
How can I do this?
Thanks for your help in advance.
Randy
Clearing Canvas items on T-Chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Clearing Canvas items on T-Chart
Hi Randy,
Try calling Draw() method for that so that it forces the chart being repainted and therefore cleaned, for example:
Try calling Draw() method for that so that it forces the chart being repainted and therefore cleaned, for example:
Code: Select all
Chart1->Draw();
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 |
Re: Clearing Canvas items on T-Chart
Hello Narcís,
Thanks for the reply.
It worked.
Randy
Thanks for the reply.
It worked.
Randy