LegendAdapter

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Jesse
Newbie
Newbie
Posts: 28
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin, TX

LegendAdapter

Post by Jesse » Fri Oct 31, 2008 3:34 am

What is the LegendAdapter for? Is there any documentation on how to use it?

I'm curious if there is some way to intercept and identify clicks on items in the legend. This class sounds similar to the ChartPaintAdapter.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 31, 2008 9:13 am

Hi Jesse,

Yes, it is something similar to the chart painting related event but for the legend. You can find an example of this at Miscellaneous\Legend\Drawing more text in the TeeChart.Features.jar demo. In that example the event is used for getting legend's position and its rectangle.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply