I am using Annotation and AnnotationCallout to create labels on a series. But the problem I have is that their positions are not updating as new data is added to the chart. The series scrolls, but the Annotation / AnnotationCallout stay in the same place.
I set the Annotation and AnnotationCallout with the following code:
Anno.setLeft(aSeries.calcXPos(iIndex)-51);
Anno.setTop(aSeries.calcYPos(iIndex)+100);
Callout.setXPosition(aSeries.calcXPos(iIndex));
Callout.setYPosition(aSeries.calcYPos(iIndex));
Is there a way to attach them to point on a series or am I using the wrong tool for the job?