IStartPos of Custom Axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
hjn
Newbie
Newbie
Posts: 2
Joined: Thu Nov 29, 2007 12:00 am
Location: India

IStartPos of Custom Axis

Post by hjn » Sat Feb 09, 2008 9:08 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 12, 2008 9:30 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

hjn
Newbie
Newbie
Posts: 2
Joined: Thu Nov 29, 2007 12:00 am
Location: India

Post by hjn » Tue Feb 12, 2008 9:48 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 12, 2008 9:58 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply