Grouping stacked bars

Hi,
I would like to create a chart with several groups of stacked bars:
- each group corresponds to a given energy (wind, sun, ...)
- for each energy, I would like to show three bars (corresponding to different years): 2010, 2020 and 2050.
- for each year, I would like to indicate (in a stacked manner) the different estimations of electricity production.
Is there a way of doing so? I tried with a simple stack-chart, but the problem is that all stacks are at the same distance from each-other, whereas I would like to have the stacks for a given energy grouped together.
Thank you for your help.
PS: I use Numbers'08.

Benjamin,
Insert a blank column (or row depending on how your data is organized) between categories wherever you would like a space to appear on the X-Axis.
Regards,
Jerry

Similar Messages

  • Grouped stacked bar graph ?

    Hey,
    does anyone know how to make a grouped stacked bar graph in ADF ?
    Single stacked bar works, but I want multiplestack bar grouped together...
    for an example see : http://www.highcharts.com/demo/column-stacked-and-grouped
    thanks for any help,
    D

    My JDev version is Studio Edition Version 11.1.2.3.0 ( Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1 ).
    I have looked into the component and I only found a a grouped bar graph and a stacked bar graph . But I want them combined : group values vertically in one bar and combining several of these bars together in a group.
    See the link I mentioned in my original message.
    Dieter

  • How to creat a grouped stacked bar chart

    Hi,
    I am trying to create a grouped stacked bar chart.
    For 'on change of ' i have -> 1) update_month                                                                               
    2) update_source ( i have 2 values for this field -> website and ivr)
    And for 'show value' field i am trying to use 1) sum of valid_count
                                                                          2) sum of invalid_count
    -> I need two stacked bars for each month, each stacked bar belongs to either website or ivr and is made of valid and invalid counts for that particular update source.
    when i tried to use the fields as i mentioned above, i got an error saying
    'The data you have selected doesnt fit the chart type' and explanation is as follows 'This chart type requires 2 on change of fields and i show value field OR 1 on change of field and many show value fields'.
    I have selected a stacked bar chart.
    Does any one know how to do this?
    i am trying to create a chart similar to the one in the following link http://www.java2s.com/Code/Java/Chart/JFreeChartStackedBarChartDemo4.htm
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Group Stacked Bar Graph

    Hi,
    In our project we need to implement grouping of stacked bar graph, but with dvt graphs we are not able to achieve this.
    We want similar graph in below link but using dvt graphs:
    http://www.highcharts.com/demo/column-stacked-and-grouped
    Please help me with grouping of stacked bar graphs.
    we are using JDeveloper 11.1.2.3.0 for development.
    Thanks,
    Jasbeer
    Edited by: user13645211 on Jan 8, 2013 11:07 AM

    Hi lo,
    I think all you need to do is implement the code found below. What you need is instead of using the random numbers (like in my example), you would just give it the values for you bar graphs. You can then build an array where you append the values for the second color above the first color by using the add function. If you then go into the plot legend (left click and go into bar plots), you can change the presentation of the data on the graph. You will also have to change the common plots display in the legend as well (left-click and go into common plots). I hope this helps!
    Message Edited by CarlaU on 04-10-2008 09:13 AM
    National Instruments
    Applications Engineer
    Attachments:
    BarStackedGraph.PNG ‏5 KB
    StackedGraph.vi ‏13 KB

  • Question regarding grouped Stacks

    Hi,
    I've been searching around for ages and I'm not even sure if this is possible. Essentially I'm trying to make a stacked bar graph that has years across the bottom, and then two bars per year. Each of these bars has two variables. I can't work out how to post an image so I'll do a little conceptual diagram. (N.B. the '---' is simply a way of indenting the text)
    2004
    ---Bar1
    ----Variable A + B
    ---Bar2
    ----Variable C+D
    2005
    ---Bar1
    ----Variable A+B
    ---Bar2
    ----Variable C+D
    Etc...
    I realise I can have variables A B C & D grouped by year if I simply use a bar chart, but I need them stacked as they are percentages i.e. A+B = 100% and I need to show the difference.
    I realise this is probably strangely worded but if anyone could give me any advice on grouped stacked bar graphs I'd be very grateful!
    Thank You!

    Minyall,
    Your question seems to be about getting the total bar length to be 100. So the numbers a & b have to be converted to percents. If a is in cell B5 and b is in C5, the formulas are:
    =A5/(A5+B5)*100
    =B5/(A5+B5)*100
    It's this set of values you want to use in your table.
    pw

  • Stacked bar chart with single group

    Post Author: rt50896
    CA Forum: Charts and Graphs
    Dear all,   I have a question about stacked bar chart with one group value(normally more than one group value is ok)   ex. YYYYMM      PRODUCT    AMT        -
            200601          ABC            1000        200602          ABC              300        200603          ABC              500       .....   the data collection is as above,then chart display: x-axis as YYYYMM,y-axis as PRODUCT...   but why this case the bar chart color not the same for each YYYYMM? and legend not display one PRODUCT as ABC only?   the bar chart display like this:   http://tkfiles.storage.live.com/y1po30C7CH6eW9phoLAXH89MBGwFLYdEZ3kOMQXUQzDzwM-VNnffibEwqPI8TIUNBm1f7uKTjnkaOI   ps. crystal report version is 8.5Regina

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Stacked bar group by series?

    Hello, I'm trying to convert data stored like so into a stacked bar chart.
    group_nm
    P0
    P1
    Top 25
    0.58
    0.31
    Remainder
    0.42
    0.69
    And display it so there's one column for P0 and one for P1 with Top25 stacked with remainder like:
    P0| 58% | 42%|
    P1| 31% | 69% |
    Setting one of the series to the secondary horizontal axis sort of works but the axis labels are off center since I guess it still thinks it's a clustered bar. Is this possible?

    Hi Lampjaw,
    Thank your for your post.
    Based on your description, did you have change the x-axis to reverse direction in your chart? Based on my test, I cannot reproduce the similar issue. Please refer to the screenshot below:
    Since I am not very clearly about your questions, could you please elaborate the issue for further investigation?
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Single Line and Stacked Bar Graph Representation

    Data to be plotted on graph is as follows
    Year and Month               Study               Planned Subject               Study-Site ID #               # Enrolled          
    2001 / 03          AMXN 9374               50     US-001               1          
    2001 / 04               AMXN 9374               50               FR-101               1          
    2001 / 04               AMXN 9374               50               SP-301               1          
    2001 / 04               AMXN 9374               50               US-001               2          
    2001 / 05               AMXN 9374               50               FR-101               1          
    2001 / 05               AMXN 9374               50               US-001               1          
    2001 / 06               AMXN 9374               50               FR-101               2          
    2001 / 06               AMXN 9374               50               SP-301               2          
    2001 / 06               AMXN 9374               50               US-001               1          
    I want to display the above data in line stacked bar graph format where the
    #Enrolled will be in Stacked Bar by Study -Site ( Y axis)
    Planned Subject should represent a single line at 50 ( Y axis)
    Group by Year and Month ( X- Axis)
    Study excluded ( Study will be selected from dashboard prompt)
    I'm getting the stacked view of Study Site ID correctly but I want Single Line for Planned Subject .
    Currently I'm getting multiple line .
    Eg for 2001/03 I'm getting line at 50 in yellow colour
    for 2001/04 I'm getting a line at 150 in different color since it has 3 Study-Site ID's But the desired output is Single Line at 50
    As per 11g doc this is not possible because there is some upgradation in the nature of the graph
    " Stacked line-bar graphs in which 2 or more measures are shown as lines on the same axis and are not stacked in 10g are stacked in 11g."
    Refer - http://docs.oracle.com/cd/E21764_01/bi.1111/e16452/apndx_ui_chngs.htm
    Is there any workaround for it ?

    Did you found any workaround for it ? I am too looking for same scenerio.

  • SVG CHart error ORA-20001 with Stacked Bar Chart HTML DB 1.6.0.00.87

    Hi,
    during I put a How-To into execution (How To Create a Stacked Bar Chart) I'll get the following error code:
    SVG Chart error:ORA-20001:line_Chart error:ORA-20001:
    get_data error:ORA-20001:Parse error:ORA009
    (see http://www.oracle.com/technology/products/database/htmldb/howtos/index.html)
    This Situation occurs when i add a second series to the
    chart. The first series works fine. I've used the following SQL-Statement:
    select null l, sales_month, revenue from (select to_char(o.order_timestamp,'Mon YYYY') sales_month, sum(oi.quantity * oi.unit_price) revenue, to_date(to_char(o.order_timestamp,'Mon YYYY'),'Mon YYYY') sales_month_order from DEMO_PRODUCT_INFO p, DEMO_ORDER_ITEMS oi, DEMO_ORDERS o where o.order_timestamp <= (trunc(sysdate,'MON')-1)and o.order_timestamp > (trunc(sysdate-365,'MON'))and o.order_id = oi.order_id and oi.product_id = p.product_id and p.category = 'Audio' group by to_char(o.order_timestamp,'Mon YYYY') order by sales_month_order);
    Please help.
    Regards
    Detlev

    Well,
    I've just been struggling for a couple of hours with a cluster bar chart giving the same problem.
    The problem is definitely with "ORDER BY".
    I guess the graphing chart is taking the sql query as a string and then does some other manipulation on it which ends abnormally when you include the order by clause.
    I presume that if you embed the query in a
    SELECT * FROM (<actual query with order by>)
    it might mitigate the problem.
    Bye,
    Flavio

  • CR XI Issue with Stacked Bar Chart

    I'm hoping this question is easy.
    I'm having trouble creating a stacked bar chart.
    I want to do a Bar Chart which will show one "Bar" for each Priority (Priority 1, 2, 3, 4 or 5) and then for each Priority divide out, by color, the Status (Submitted, Reviewing, Working, Testing....).
    For example, let's say that there are 10 Priority 1 records. Of those 10, 5 have a Status of Submitted, 3 are being Reviewed and 2 are being Tested. Then the Priority 1 bar should show a count of 10 which is comprised of 3 colors which will correspond to the 3 Statuses that make up the 10 Priority 1 records.
    I can't get the Stacked Bar Chart to display this correctly.
    In the Chart Expert, the Data Tab says:
      -- On change of: Priority - Ascending
      -- Show Value(s): Count of Status
    When I run the CR, it get's the Priority correct and I see the total for each Priority. But it does not then take each Bar and color code by Status.
    Any ideas how to get it to do that?
    Thanks,

    Hi,
    You should have in On change of field a sub group as well.
    For stacked bar charts it is necessary to have a group and a sub group fields in on change of section.
    Say you have the month.
    no of priority1 in jan etc.
    Hope that helps!!
    Thanks
    -Azhar
    Edited by: Azhar on Aug 4, 2009 8:23 AM

  • Problem with stacked bar query

    Hello,
    I tubbing a while on this already and probably the answer is right there.
    I have table with date,product,qty column and I want a stacked bar with the sum of quantity for each product for a certain period.
    so period is the label but how can I created the sum(qty) for each item and display it in a stacked bar?
    Thanks for the help

    Hi Irvine,
    If you want to try and make a stacked bar chart, you will need to add a new serie for each product you'd like to see in your chart. I don't see any other way to make this generic for each product in your products table.
    But if you like to make a new serie for each product i'll give you a small example on how you can do this.
    First create your chart and fill in a query for your first product:
    example:
    select product,substr(p_date,4,3),sum(quantity)
    from table
    where lower(name) = 'keyboard'
    group by product,substr(p_date,4,3)
    This will give you as result: the sum of the quantity for a certain month for the product 'keyboard'. This will be your first serie.
    Now go to the chart attributes and choose 'add series', now you can add the serie for the next product, f.e.:
    select product,substr(p_date,4,3),sum(quantity)
    from table
    where lower(name) = 'mouse'
    group by product,substr(p_date,4,3)
    Do this for every product you'd like to add to your chart.
    Grtz,
    Tuur
    Message was edited by:
    HENDRTU

  • Problem with Stacked Bar

    I need to show details about messages transactions.
    I decided to use a Stacked Bar chart to view present number of trans' of different types by their date.
    I use this query in all the series:
    select null link, sd label, c value
    from (select trunc(STARTDATE) sd, count(TRANS_ID) c
    from TRANSACTION
    where ERROR = 'OK' and MSGTYPE = 'THE_MSG_TYPE_VALUE'
    group by trunc(STARTDATE)
    order by trunc(STARTDATE) )
    the chart is presented, and i thought it's correct. apparently not.
    in some msg types it placed its colored column in wrong date (i think it's because it's the only type that has transaction/s in this date). it simply was added to the other columns serially.
    the correct (and expected) result was to place it in separate column and not to add it to the other series.
    maybe i should add something in the query. if someone encountered this problem, i'd be happy to take advices.

    Here's my result with six values in a single series. I double clicked the last bar to change its colour from the default grey (which was visible) to magenta.
    Numbers 2.0.3, iBook G4, OS X v10.4.11
    (Shot in the dark:) Try double clicking the value label, then changing the order position of this item.
    Regards,
    Barry

  • Stacked Bar Chart

    Hi I would like to create a stacked bar chart in my report.
    It will have 2 dimensions and 1 Measure.
    Dimension 1 = Month
    Dimension 2 = Sales Item
    Measure = Sales_quantity
    I can't find anything in the user guide.
    Is this possible ?

    I am not sure what you understand as a "stacked bar chart" - There is a chart type "stacked bar chart" that we support. So you can have the Month as the x axis and the Sale Item as the different data sets.
    We are using the Oracle BI Beans XML description for our charts. The BI Beans chart builder helps to define the tags - that is stored in the Web Alternate Text of the Image that is included by the chart builder.
    The tag for the graph type is:
    <Graph graphType="BAR_VERT_STACK"/>
    To show 2 dimensions you need to modify the code the following way
    1) Adjust the row count
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'MONTH'))}" rowCount="{count(xdoxslt:group(.//ROW, 'SALESITEM'))}">
    2) Show the labels
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="SALESITEM">
    <Label><xsl:value-of select="./SALESITEM"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    3) Add multiple rows for the SALESITEM in each column (MONTH) in the data section.
    <DataValues>
    <xsl:for-each-group select=".//ROW" group-by="MONTH">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="SALESITEM">
    <Cell><xsl:value-of select="sum(current-group()/Sales_quantity)"/></Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    The code stehms from an example I did recently for multiple line charts - so I made have some typos in there - from changing hte names. Hope it helps and you get it working.
    We should support the stacked bar charts in the builder, but it is only recently that
    people cared about the charts...
    Good luck,
    Klaus

  • Stacked Bar chart mouseover options

    I am using the stacked bar chart. When mousing over the bars, it currently displays the totals on the very top of the bar. Is there a way to make the total display inside (or at the bottom) of the bar?

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Stacked bar chart errors

    I am creating a stacked bar chart and put a max row count of 50, but the graph actually shows more than 50. After the 50 data points, all of the rest of the dates along the x axis are out of order. Is there another location i also need to enforce this max row count?

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Voice memos not synching to iTunes since ios8

    is Apple even looking into this problem? It's so frustrating! It worked perfectly until I upgraded to ios8, now my newly recorded voice memos won't synch to iTunes.

  • Itunes won't respond to double clicking on a song once another song is play

    hi. i open itunes, double click on a track and then if i want to play another track i double click on it but itunes won't respond and just keeps playing the original track. if i click on the track, it will highlight but won't play when double clicked

  • Process Composer - node mapping

    Hello, I have a table (ie ID, Name) in my first Web Dynpro application, and i want to pass it to another Web Dynpro application using Process Composer. Everything works fine, when there is only one record (row) in table, but when i add another, click

  • Z-Report for PR using ES language not getting the Header and Item text deta

    Hi, We have developed Z report for PR report and we ahve used ES and EN language, but when i select language ES and execute the report then we are not getting the Header and Item text data, Secondly when We select language EN and execute the report t

  • How to skip a particular node in a script using test manager

    Hi, We are testing a script recorded for custom forms in R12 on two different instances using test manager.For one instance its running fine. But in the second instance one message note is not coming (one note which was present during recording is no