2 Replies Latest reply on May 16, 2006 1:59 PM by Newsgroup_User

    Multiple providers for a chart

    Chris_Brandt
      Is it possible to have a chart which uses multiple providers for it's data?

      eg. I want to have a chart that includes both instructor performance and course performance but these are currently provided by different web service calls -- I'd like to have them both included on the same chart.

      Thanks for any pointers,
      chris
        • 1. Re: Multiple providers for a chart
          Willem_PHII
          Take a look at the "Two Axes HLOC" example in the Charts explorer. From there you can easily add a second mx:HTTPService for the second web service.
          • 2. Re: Multiple providers for a chart
            Level 7
            Chris,

            Just a suggestion: Create a new Array. Assign this as the dataProvider
            of your chart. Then in your web service result handlers, populate your new
            Array with the data, concatenating it with the existing data.

            Jason

            --
            Jason Szeto
            Adobe Flex SDK Developer


            "Chris Brandt" <webforumsuser@macromedia.com> wrote in message
            news:e3dgep$num$1@forums.macromedia.com...
            > Is it possible to have a chart which uses multiple providers for it's
            > data?
            >
            > eg. I want to have a chart that includes both instructor performance and
            > course performance but these are currently provided by different web
            > service
            > calls -- I'd like to have them both included on the same chart.
            >
            > Thanks for any pointers,
            > chris
            >