3 Replies Latest reply on Feb 18, 2009 2:53 PM by Newsgroup_User

    Legend filter

    nikos101 Level 2
      Is it possible to not include a particular series item in a legend? I want to do this because not all my lines will be drawn at the same time.
        • 1. Re: Legend filter
          flexstone Level 1
          One way is to filter the dataProvider for the chart to exclude those data that you do not want - if your legend is bound to the chart then those legend items will not be shown.

          Otherwise you could bind the legend to your own ArrayCollection which may be a little more work.
          • 2. Re: Legend filter
            nikos101 Level 2
            I don't want to make my own array collection because I might have to mimic all the colour properties of the real data provider.
            • 3. Re: Legend filter
              Level 7

              "nikos101" <webforumsuser@macromedia.com> wrote in message
              news:gnhv0u$jkd$1@forums.macromedia.com...
              >I don't want to make my own array collection because I might have to mimic
              >all the colour properties of the real data provider.

              You might be able to create a ListCollectionView based on your chart and
              filter that.

              HTH;

              Amy