0 Replies Latest reply on Apr 20, 2007 3:16 AM by ljonny18

    Stacking + <mx:BarChart>

    ljonny18 Level 1
      Hi

      Is it possible to stack just one value of a dataProvider on top of each other rather than stacking different values of the same entity within an <mx:BarChart> ???

      E.g.

      dataProvider:
      [Bindable]
      public var competitors:ArrayCollection = new ArrayCollection([
      {competitor: "Competitor 1", startTime:0, endTime: 16 },
      {competitor: "Competitor 2", startTime:0, endTime: 11 },
      {competitor: "Competitor 3", startTime:2, endTime: 12 },
      ]);

      And I only want to display the endTime result in this particular <mx:BarChart>, however I don’t want to show the results aas 3 individual bars within the <mx:BarChart> but by using 1 bar and "stacking" the results over each other.....

      Thanks,
      Jon.