Page 1 of 1

Issue with placing the annotation

Posted: Wed Dec 21, 2011 12:18 pm
by 13051032
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,

Re: Issue with placing the annotation

Posted: Thu Dec 22, 2011 10:09 am
by 10050769
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 3910 times
Can you tell us, if in previous image appears your problem?

Thanks,