1 Reply Latest reply on Aug 5, 2008 1:18 PM by Jed Schneider

    adding images to lineChart from arrayCollection

    Jed Schneider Level 1
      Hi, I found an example from Flex 1.5 which shows how to add an image at a point with pointRenderer but as I can't find it in the Flex 3 documentation, I expect that it is a deprecated process.

      What is the best process for adding a series of images to a series of data points on the graph.

      Attached is my current application code that successfully plots the points from external xml. Now I just need to get my images from the "shot" element in my ArrayCollection (as a path:String) into an image.

      Thanks for any suggestions.,
        • 1. Re: adding images to lineChart from arrayCollection
          Jed Schneider Level 1
          any takers?

          I think I figured out that I need to use a custom ItemRenderer, but what is the best way to update the image in the itemRenderer for each datapoint on the graph? Should I create a new custom component, refer to the same xml file and just pull out the image property (which seems wasteful since the data is already available in memory), or should I do this programmatically via actionscript. or is there another better option. Thanks,