0 Replies Latest reply on Oct 19, 2006 2:28 AM by KostyaS

    Legend rendering

    KostyaS
      A few days ago I posted the message about too long text of legend item.
      Perhaps I found the way to solve the problem of proper rendering legend if width of legend items is wider then parent container.
      I want to clip legend item text, and show tooltip over it.
      If I define legendItemClass property, I can assign a toolTip property for each legend item, becuase it inherits UIComponent class.
      From Help of Flex2.0:
      "If you want custom behavior in your legend items, you can assign a subclass of LegendItem to" legendItemClass property.
      http://livedocs.macromedia.com/flex/2/langref/mx/charts/Legend.html#legendItemClass

      Did anybody define subclass of LegendItem class?