Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
113
Paired, Stacked Bar Charts.
posted

First off, I'm on version 2006 volume 3.

I originally had a simple line chart showing 2 lines (interest paid for interest rate A in blue and interest rate B in red) over several years. Dollars paid is the Y Axis and Year is the X Axis. Now, I need to show both principle and interest paid in a stacked chart (to show the total amount paid during each year). However, because I have 2 sets of rates (A and B), I'd like my 2 sets of stacks to be "paired" or "side-by-side" for each year.

 It would be similar to the demo picture below, except there would only be 2 items (principle and interest) stacked for each bar, and only 2 bars (rates A and B) per year. I'm lost as to how to tell Infragistics exactly what to stack, and what to group together...if it's even possible. Can anyone shed light on the situation?

Parents
  • 26458
    Offline posted

    Unfortunately, our chart doesn't have such functionality. Our stack charts don't have that extra level of grouping (grouping by month in the image). The grouping is done by stacking column values in each row of data. The column chart has the same type of grouping as your image does, but no stacking. The're a few workarounds that I can think of. You can use a column chart and add stack another box on top of the existing one using a custom layer. You can use a composite chart and add a stacked column layer for each of the monthly groups. Each group would also have to be on a separate x axis. I'd go with a custom layer approach, as it would be more friendly to databinding.

Reply Children