Hi
I made 3 axis on a chart and each axis has its own graph. I want to put a text on each graph's left top corner. I use Annotation Tools to draw the text. But the problem is, the value of IStartPos remains 0 for all customs axis, so how could I make out where the graph's left top corner is ? values for startPosition and Endposition are correct, but i cannt not use that becos these values are not in pixels. What is wrong, i m not getting.
Thanks
IStartPos of Custom Axis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi hjn,
It is most likely that you need to force the chart being internally painted to have valid values for such properties. For that you need to use Bitmap method. I did an example of what you are asking for here.
It is most likely that you need to force the chart being internally painted to have valid values for such properties. For that you need to use Bitmap method. I did an example of what you are asking for here.
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 |
Hi
Thanks for reply..I got the solution, in chart afterdraw event I am getting the correct values of IstartPos and IEndPos.
One more question, if I add more points (in my case 3500), chart takes significantly much time to load. How can i improve it. I am adding 3 series at a time on different vert axes.
Thanks
Thanks for reply..I got the solution, in chart afterdraw event I am getting the correct values of IstartPos and IEndPos.
One more question, if I add more points (in my case 3500), chart takes significantly much time to load. How can i improve it. I am adding 3 series at a time on different vert axes.
Thanks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi hjn,
I suggest you to read the Real-Time Charting here and also look at the examples at All Features\Welcome!\Speed in the features demo, available at TeeChart's program group.
I suggest you to read the Real-Time Charting here and also look at the examples at All Features\Welcome!\Speed in the features demo, available at TeeChart's program group.
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 |