2 Replies Latest reply on Dec 5, 2008 11:48 PM by Shirker1

    Chart Refresh

    Shirker1 Level 1
      Hi:

      I am deleting and adding LineSeries to a chart dynamically.
      I do a refresh do the dataProvider ArrayCollection but the Graph does not get refreshed until I drag it.
      How do I refresh?


      Thanks
        • 1. Re: Chart Refresh
          Level 7

          "Shirker1" <webforumsuser@macromedia.com> wrote in message
          news:gh8anl$rn8$1@forums.macromedia.com...
          > Hi:
          >
          > I am deleting and adding LineSeries to a chart dynamically.
          > I do a refresh do the dataProvider ArrayCollection but the Graph does not
          > get
          > refreshed until I drag it.
          > How do I refresh?

          http://demo.quietlyscheming.com/ChartSampler/app.html
          General Features>Watching Collections


          • 2. Re: Chart Refresh
            Shirker1 Level 1
            I am attaching the code:
            This works OK with one little problem. The first time I create the component it does it from the mxml definition and I have to drag the panel and from then on everything is OK. I am deleting the LineSeries and it should not render from the mxml but from the newly created Line Series. The original refresh does not work why ?