Different colored Text in Annotation?

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

Different colored Text in Annotation?

Post by frank » Wed Sep 03, 2014 7:13 am

Hi,

I know my requirements to LightningChart are sometimes ambitious :)
I have implemented a function like your ExampleCursorTrackingXY. Would it be possible (directly via RichText or in an CustomDrawEvent) to color the text like the associated PointLine?

Best regards,
Frank
Attachments
Annotation.png
Annotation.png (10.91 KiB) Viewed 4970 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Different colored Text in Annotation?

Post by ArctionPasi » Wed Sep 03, 2014 7:32 am

Hi Frank,

no, it's unfortunately not possible to color parts of text in same annotation with different colors. Please use several annotations with different colors. You can make them with transparent background and no borders. Use MovedByMouse event of the "background" annotation to reposition the other annotations that are on top of that.
LightningChart Support Team, PT

Post Reply