Issue with placing the annotation

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Issue with placing the annotation

Post by asupriya » Wed Dec 21, 2011 12:18 pm

I have to place an annotation onrap the gh display based on some information from a text file. The text file defines the x-axis location (in my case time of sample with milli-secod precision) and the value of the annotation.

My problem is that no matter what the x-value is, the annotation is appearing on the center of the chart.

I am uploading a sample project to show this issue. There is a file called sample.txt in the debug folder that defines the x-axis location for the annotation as the second field. If you change the second field from 1 to 100, the annotation location continues to be on the center of the chart. How can i place the annotation correctly based on the x-axis value coming from the txt file.

I am using TChart v 3.5's latest version.

Thanks and best regards,
Attachments
SampleTeeCart.zip
Please pay attention to sample.txt in the debug folder.
(77.88 KiB) Downloaded 471 times

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

Re: Issue with placing the annotation

Post by Sandra » Thu Dec 22, 2011 10:09 am

Hello asupriya,

Using last version 3 of TeeChartFor .Net and your code I have get next image:
TestAnnotation.jpg
TestAnnotation.jpg (88.11 KiB) Viewed 3947 times
Can you tell us, if in previous image appears your problem?

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