DrawLineItem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jzarech
Newbie
Newbie
Posts: 58
Joined: Mon Jul 07, 2008 12:00 am

DrawLineItem

Post by jzarech » Tue Nov 03, 2020 4:29 pm

Hi All -- Love the DrawLines class never used it before.
I have a list on the screen where I have a list of DrawLineItems on chart.
I want to be able to click on a line item in my list and have that line become "selected" on the chart -- as if I clicked on the line itself.
Is there some way to do that programmatically?
Thanks.
Joseph
clickDrawlineSelect.jpg
clickDrawlineSelect.jpg (133.03 KiB) Viewed 9741 times

jzarech
Newbie
Newbie
Posts: 58
Joined: Mon Jul 07, 2008 12:00 am

Re: DrawLineItem

Post by jzarech » Wed Nov 04, 2020 9:38 am

Figured it out --
Here's the code --
drawlinessolution.gif
drawlinessolution.gif (29.82 KiB) Viewed 9722 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: DrawLineItem

Post by Christopher » Wed Nov 04, 2020 10:06 am

Hello,

you beat me to it! Very glad to see you managed to arrive at a satisfactory solution.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply