Hi,
I follow the Scatter, point tracking to implement annotation showing curve values (at the mouse cursor – like tooltips). I use AnnotationStyle = Callout and KeepVisible = true. How can I programmatically change the AnnotationXY's location relative to the tracked-point? because my annotation often looks very odd where the annotation itself is very far from the tracked-point, or sometimes completely hiding the tracked-point. This does not happen when KeepVisible = false. Or if you have other suggestions to overcome the issue.
I'll appreciate any help.
AnnotationXY's location/shape
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: AnnotationXY's location/shape
Hi !
Annotation has lot of properties to control the positioning.
When annotation.LocationCoordinateSystem == RelativeCoordinatesToTarget, you can control the offset with annotation.LocationRelativeOffset.X and Y properties. There's also explanation of the annotations' positioning in the User's Manual, but I'd we'd be happy help here as well
Annotation has lot of properties to control the positioning.
When annotation.LocationCoordinateSystem == RelativeCoordinatesToTarget, you can control the offset with annotation.LocationRelativeOffset.X and Y properties. There's also explanation of the annotations' positioning in the User's Manual, but I'd we'd be happy help here as well
LightningChart Support Team, PT
Re: AnnotationXY's location/shape
Thank you, that's exactly what I need.