3 Replies Latest reply on Sep 2, 2008 5:48 AM by Ventis85

    Issue with Array Collection and Chart Data Provider

    arajendr Level 1
      Folks,

      I have a ArrayCollection (that holds 12 items) which is given as data provider to the column chart. The ArrayCollection keeps changes every 5 mins, so that the new collection item will be added to the end of the collection and the first item from the collection would be removed. The collection is a bindable one. However, the chart does not pick up these changes. It retains the old item ie.. the first item which was removed from the collection.

      The strange thing I observed is that, if I print the length of the collection it shows the correct value as 12. But when the chart renders the x axis using this collection items it shows 13 items :(.

      It would be really helpful if someone could throw some light on this.