Fail to get correct value with IEndPos and IstartPos

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

Fail to get correct value with IEndPos and IstartPos

Post by Chris.CHWU » Mon Dec 28, 2009 10:46 am

Hello:

We are using Build 3.5.3498.27376.
01.jpg
01.jpg (74.39 KiB) Viewed 5440 times
The above image is a snapshot of memory in VS2005. You could find that _tchart.Width is 967, and Chart.Axes.Bottom.IstartPos and Chart.Axes.Bottom.IendPos are 0. But if we click on _tchart to trace into the object, we could find that inside the object, the IstartPos is 76 and IendPos is 930.
02.jpg
02.jpg (119.24 KiB) Viewed 5440 times
Then it throws an exception like this
03.jpg
03.jpg (46.44 KiB) Viewed 5442 times
Could you please advise what's wrong and what shall I do? Thanks in advance.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Fail to get correct value with IEndPos and IstartPos

Post by Sandra » Tue Dec 29, 2009 10:25 am

Hello Chris.CHUW,

I couldn't see when EndPosition and StarPosition are 0. It's possible that problem occurs because chart needs repainted as commented in previous thread.

If it don’t solve, please you could tell exactly as we do to reproduce issue. Also, if you prefer, you could send us a simple project because we can reproduce your problem here, and try to help you.


Thanks,
Best Regards,
Sandra Pazos / 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