Hi,
Is it possible to add GrabPadding property to ConstantLine? LineSeriesCursor has this feature and it's very useful especially for thin lines.
Thanks.
GrabPadding on ConstantLine
Moderator: Queue Moderators
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: GrabPadding on ConstantLine
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.
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
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.
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.