Annotation Arrow sizing.

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

TRVRSE
Posts: 21
Joined: Fri May 30, 2014 1:27 pm

Annotation Arrow sizing.

Post by TRVRSE » Tue Jul 22, 2014 9:03 pm

For annotation arros, is there any way to programmatically set the arrows head and line thickness to be different?

I'd like the line thickness to be 1.0f, and the head to be 4.0f.

If not, do you suggest any workarounds to change how the arrow draws?

ArctionJari

Re: Annotation Arrow sizing.

Post by ArctionJari » Wed Jul 23, 2014 10:24 am

You can only set the line thickness and make some minor adjustments to the relative size of the target point (ArrowEndAspectRatio property).

You could create an EventMarker object and and set its location to annotation's line end. However, you would have to calculate the angle of the event marker yourself and that requires some extra coding.

jrvdboom
Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

Re: Annotation Arrow sizing.

Post by jrvdboom » Wed May 06, 2015 10:09 am

Vote up! I would also like to be able to change arrow head size independently from line width.