Hello
I use TChart with some fast line and I have some refresh problem. Maybe you already have some solutions for this problem.
I have to display an icon (or bitmap) on top of your TChart. (We doesn’t have mouse on this platform, and I would like to move this magnifying glass icon to know where the user would like to zoom on the graphic). And when I move my icon, all the graphic is recalculate even if I never change any things on the graphic!
I try many things, there is some one:
- I use the Invalidate(Rectangle) of your graphic to catch the “AfterDraw()” to redraw only where my icon is, but the problem, all curve and axis are recalculated even if I specify a rectangle to invalidate.
- I Try also to move a small bitmap over the graphic, and at each time I moved my bitmap, all the graphic is recalculated and invalidated. I expected in this case that your graphic doesn’t recalculate each curve, just redraw the already calculated graphic bitmap because noting change in the graphic.
The expected solution will be that I can move an icon over the graphic and the graphic doesn’t recalculated all curve, only redraw the graphic already calculated.
I have some problem to explain my problem…. I hope you understand me enough to help me
Note: My software run on compact framework and the speed is very important.
TChart bitmap recalculated when an icon is moved over.
-
- Newbie
- Posts: 30
- Joined: Mon Feb 18, 2008 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Qwerty,
You could try setting chart's AutoRepaint property to false. For magnifying glass effect you could use TeeChart's magnifying tool.
Hope this helps!
You could try setting chart's AutoRepaint property to false. For magnifying glass effect you could use TeeChart's magnifying tool.
Hope this helps!
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 |