Hi,
Is there a function nodraw or something like this?
I want to add some series without the Tee Chart refresh my new series. I want to refresh my Tee Chart on a special event.
Thank you
Refresh Tee Chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Rousseau,
Yes, you can use Autorepaint for that setting it to false before adding your series, set it back to true when you want to refresh the chart and call Repaint too, for example:
Yes, you can use Autorepaint for that setting it to false before adding your series, set it back to true when you want to refresh the chart and call Repaint too, for example:
Code: Select all
Private Sub Command1_Click()
TChart1.AutoRepaint = False
TChart1.AddSeries scLine
TChart1.Series(0).FillSampleValues 10
TChart1.AutoRepaint = True
TChart1.Repaint
End Sub
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 |