3 Replies Latest reply on Oct 5, 2008 8:03 PM by Newsgroup_User

    Set Label and Value For Legend

    ajesing
      Hello,
      How can I set a lebel value for a legend. I set the label as Triangle,
      I need to define Triangle stands for 'T' .
      How can I do this?
      <mx:LegendItem label="Triangle" fontWeight="bold">
      </mx:LegendItem>
      Thanks
        • 1. Re: Set Label and Value For Legend
          Level 7

          "ajesing" <webforumsuser@macromedia.com> wrote in message
          news:gc770h$9re$1@forums.macromedia.com...
          > Hello,
          > How can I set a lebel value for a legend. I set the label as Triangle,
          > I need to define Triangle stands for 'T' .
          > How can I do this?
          > <mx:LegendItem label="Triangle" fontWeight="bold">
          > </mx:LegendItem>
          > Thanks

          Could you restate the question?


          • 2. Re: Set Label and Value For Legend
            ajesing Level 1
            In my chart, I have a TriangleItemRenderer and a CircleItemRenderer, based on this, I need to display legend.
            So how can I show Triangle and Circle legends, Eg:if I set Label as Triangle, then how do I display a text for the label?

            <mx:LegendItem label="Triangle" fontWeight="bold">
            </mx:LegendItem>
            • 3. Re: Set Label and Value For Legend
              Level 7

              "ajesing" <webforumsuser@macromedia.com> wrote in message
              news:gcboqh$76n$1@forums.macromedia.com...
              > In my chart, I have a TriangleItemRenderer and a CircleItemRenderer,
              > based on
              > this, I need to display legend.
              > So how can I show Triangle and Circle legends, Eg:if I set Label as
              > Triangle,
              > then how do I display a text for the label?
              >
              > <mx:LegendItem label="Triangle" fontWeight="bold">
              > </mx:LegendItem>

              If you set the label as "Triangle", then that will be the text you see.