2 Replies Latest reply on Jan 7, 2009 8:43 AM by dstrube

    Display overlapping overlaid ColumnChart

      This page gives useful info on how to add ColumnSeries (in ActionScript) to a ColumnChart (in mxml).

      Going with the second to last example, let's say we've already clicked "add more series to the chart" and we want the graph type to be overlaid, and the values are in descending order, and we've removed one of the months for simplicity.
      [Code attached below]
      OK so far.

      Next what if the series aren't always in descending order?
      How do we display the vertical bars that are covered by others?

      private var profit04:ArrayCollection = new ArrayCollection([
      {Month: "Jan", Profit: 2400},
      {Month: "Feb", Profit: 1000}

      private var profit05:ArrayCollection = new ArrayCollection([
      {Month: "Jan", Profit: 2200},
      {Month: "Feb", Profit: 1200}

      private var profit06:ArrayCollection = new ArrayCollection([
      {Month: "Jan", Profit: 2000},
      {Month: "Feb", Profit: 1400}

      One option is to change the order in which the series get their data.
      Another is to display one tool for each column (not one for each bar in each column, like showAllDataTips="true").

      Can anyone tell me either approach is possible, and if so how to do either or both of these?
      Thanks for your time.