how to focus on a line when a legend clicked

TeeChart for Javascript for the HTML5 Canvas
Post Reply
goodsj
Newbie
Newbie
Posts: 15
Joined: Thu Jan 25, 2018 12:00 am

how to focus on a line when a legend clicked

Post by goodsj » Wed Jun 19, 2019 11:21 pm

I wish One line should be highlighted or the other line need to be transparent.

How can I implement it? :o Do you have an example?

Yeray
Site Admin
Site Admin
Posts: 8726
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: how to focus on a line when a legend clicked

Post by Yeray » Thu Jun 27, 2019 11:57 am

Hello,

You can hide the series using the legend.onclick event as in this example.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

goodsj
Newbie
Newbie
Posts: 15
Joined: Thu Jan 25, 2018 12:00 am

Re: how to focus on a line when a legend clicked

Post by goodsj » Fri Jun 28, 2019 9:16 am

Thank you! :D :D

Post Reply