Page 1 of 1

LegendAdapter

Posted: Fri Oct 31, 2008 3:34 am
by 7667592
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.

Posted: Fri Oct 31, 2008 9:13 am
by narcis
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.