I’m displaying some VerticalLineAnnotations (with ShowLabel=”true”) but the label text always appears white, and I can’t seem to change this. I’ve tried setting the Foreground both in the style and directly on the control declaration, but it gets ignored. I’m using v2.2.5014 if that makes a difference.
Thanks in advance
- andyste1 asked 9 years ago
- You must login to post comments
Hi,
Thanks for reporting this!
The font color is bound to the annotation’s Stroke property by default. So setting it directly should override all bindings. We’ll check this behavior and try to fix it.
To work around, please, try setting the property on the label directly:
<s:VerticalLineAnnotation ShowLabel="False" ...> <s:AnnotationLabel LabelPlacement="TopRight" Text="Bottom-aligned" Forground="Red"/> </s:VerticalLineAnnotation>
Hope this helps!
Best regards,
Yuriy
- Yuriy Zadereckiy answered 9 years ago
- You must login to post comments
Please login first to submit.