Hi,
I want to listen to mouse events on legend checkbox. Is that possible ?
I see that you are drawing check boxes.
Thanks,
Varun
Can we get mouse events on legend checkbox ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Varun,
Yes, you can use mouse events as shown here and get clicked item like this:
Yes, you can use mouse events as shown here and get clicked item like this:
Code: Select all
int legendIndex = chart1.getLegend().clicked(e.getX(), e.getY());
Best Regards,
Narcís Calvet / 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 |