Page 1 of 1

GrabPadding on ConstantLine

Posted: Fri Sep 15, 2023 2:11 pm
by aelbuz
Hi,

Is it possible to add GrabPadding property to ConstantLine? LineSeriesCursor has this feature and it's very useful especially for thin lines.

Thanks.

Re: GrabPadding on ConstantLine

Posted: Mon Sep 18, 2023 6:58 am
by ArctionKestutis
Hi,

Only LineSeriesCursor has GrabPadding property but not ConstantLine.
If you don’t want to increase line width, only other workaround (I imagine) is to use another transparent thicker ConstantLine. You would place 2nd ConstantLine behind and allow-user-interaction only with it. First ConstantLine will have no interaction, but synchronized position with first through ValueChanged event handler.

Hope this helps.

Re: GrabPadding on ConstantLine

Posted: Mon Oct 09, 2023 7:16 am
by aelbuz
Nice solution! Thank you so much for the workaround.

The solution may get more complicated if I need more than one ConstantLine (in my example 4 or 5), but it's still the best solution I've ever heard.

Thanks again.