Page 1 of 1

Different colored Text in Annotation?

Posted: Wed Sep 03, 2014 7:13 am
by frank
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

Re: Different colored Text in Annotation?

Posted: Wed Sep 03, 2014 7:32 am
by ArctionPasi
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.