Hello,
I'm trying to get the actual dimensions (ActualWidth, ActualHeight?) of an Annotation3D so I can explicitly position it in the corner of a chart. How can I get those or another way to force an annotation into a corner? I can't just trial-and-error due to changing contents resizing the annotation.
Thanks,
Mitch
Dimensions of Annotation3D?
Moderator: Queue Moderators
Re: Dimensions of Annotation3D?
Resolved this by setting the anchor to bottom right (1,1) and the screen coordinates to the ActualWidth and ActualHeight of the chart.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Dimensions of Annotation3D?
Another way is to use MeasureText to measure the rectangle the annotation is going to cover.
http://www.arction.com/forum/viewtopic. ... text#p1429
http://www.arction.com/forum/viewtopic. ... text#p1429
LightningChart Support Team, PT