How to create a stacked bar chart?

How do you create a stacked bar chart in Visual Composer?
I have a query with one keyfigure (amount) and drilldowns on Sales Org and Invoice Type. In my chart I want a bar for each Sales Org, and each bar should be divided in sections according to Invoice Type in one single stack. How can I create that?

Hi
Are you using BI query? If yes then follow the steps -
1. Take Sales org in rows of BI query. & take invoice type & Key figure in Columns.
2. In VC use this query & drag chart from the output of this query.
3. Right click on chart & go to 'Configure Element'. There select Chart Type as 'Bar chart'
4. Below that you will get default option as clustered, there you select 'Stacked'
5. Create Data series as per your requirement.
6. Arrange proper layout of the model & then deploy.
You will get required output in stacked format.
Regards
Sandeep

Similar Messages

  • How do I create a stacked bar chart - Crystal Excelsius 4.5

    How do I create a stacked bar chart using Crystal Excelsius 4.5?  I do not see the stacked bar chart in my components window.  - Erik

    I just opened an old file that I created with Crystal Excelsius and I see the stacked bar chart visible in the components window of my old files.
    Why has stacked bar chart disappeared from the components window in my new files?  It seems many of the components have "disappeared" including stacked bar, candlestick charts, area charts and most of the background components.

  • How to create a vertical bar chart from a table? (PHP, HTML and CSS)

    Hi everyone,
    I have created a table and wish to proceed to do it even better in terms of analysis pattern. I want
    to create a vertical bar chart from the created table but I dunno how to start it.
    Here is the code for the table:
    <?php
    $gpa11=$_REQUEST['gpa11'];
    $gpa12=$_REQUEST['gpa12'];
    $gpa21=$_REQUEST['gpa21'];
    $gpa22=$_REQUEST['gpa22'];
    $gpa31=$_REQUEST['gpa31'];
    $gpa32=$_REQUEST['gpa32'];
    $gpa41=$_REQUEST['gpa41'];
    $gpa42=$_REQUEST['gpa42'];
    $gpa51=$_REQUEST['gpa51'];
    $gpa52=$_REQUEST['gpa52'];
    ?>
    <!doctype html>
    <html lang="en">
       <head>
          <meta charset="utf-8">
          <meta name="viewport" content="width=1024">
          <title>Feng Mentor Mentee</title>
       </head>
       <body>
          <div id="wrapper">
             <div class="chart">
                <h3>GPA Performance Graph</h3>
                <table id="data-table" border="1" cellpadding="10" cellspacing="0"
                summary="The performance of students throughout the years in university">
                   <thead>
                      <tr>
                         <td> </td>
                         <th scope="col">Year 1</th>
                         <th scope="col">Year 2</th>
                         <th scope="col">Year 3</th>
                         <th scope="col">Year 4</th>
                         <th scope="col">Year 5</th>
                      </tr>
                   </thead>
                   <tbody>
                      <tr>
                         <th scope="row">Sem 1</th>
                         <td><?php echo $gpa11;?></td>
                         <td><?php echo $gpa21;?></td>
                         <td><?php echo $gpa31;?></td>
                         <td><?php echo $gpa41;?></td>
                         <td><?php echo $gpa51;?></td>
                      </tr>
                      <tr>
                         <th scope="row">Sem 2</th>
                         <td><?php echo $gpa12;?></td>
                         <td><?php echo $gpa22;?></td>
                         <td><?php echo $gpa32;?></td>
                         <td><?php echo $gpa42;?></td>
                         <td><?php echo $gpa52;?></td>
                      </tr>
                   </tbody>
                </table>
             </div>
          </div>
       </body>
    </html>
    Here's the look:
                                                              GPA Performance Graph                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
    Year 1
    Year 2
    Year 3
    Year 4
    Year 5
    Sem 1
    Sem 2
    Please help me on this because this is my 1st project on php.

    Hi
    Are you using BI query? If yes then follow the steps -
    1. Take Sales org in rows of BI query. & take invoice type & Key figure in Columns.
    2. In VC use this query & drag chart from the output of this query.
    3. Right click on chart & go to 'Configure Element'. There select Chart Type as 'Bar chart'
    4. Below that you will get default option as clustered, there you select 'Stacked'
    5. Create Data series as per your requirement.
    6. Arrange proper layout of the model & then deploy.
    You will get required output in stacked format.
    Regards
    Sandeep

  • How to create "time sheet" bar chart?

    Hi Experts,
    I am using Crystal Reports 2008 and I would like to ask the steps to create a time sheet liked bar chart with following information:
    Imagine I collected the CPU usage of a computer every 30 seconds.
    In the report layout, X-axis should be the time of date. Such as 00:00, 06:00, 12:00 and 18:00. Y-axis should be the exact date. Such as 2009/05/01 to 2009/05/31. Highlight color should be applied to identify the usage. Such as <30% is gray, 30~70% is blue and >70% is red.
    Here is my target layout: [timesheet|http://img200.imageshack.us/img200/1292/timesheet.png]
    I tried to use bar chart template but crystal report sum up the total duration, not the exact time. When using Gantt chart, it almost fulfilled my requirement. But the bars of same date is not aligned horizontal, just like stairs.
    Thanks a lot for help!
    Regards,
    Albert Lai

    Thank you for reply!
    I tried "horizontal stacked bar chart" but it still have problem...
    Let's see my screen dumps: [Chart Expert - Data|http://img514.imageshack.us/img514/6595/timesheet2.png], [Chart Expert - Highlight|http://img411.imageshack.us/img411/1924/timesheet3.png], [Result|http://img269.imageshack.us/img269/8195/timesheet4.png]
    Is that no one will use Crystal Reports like my sample?
    Regards,
    Albert Lai
    Edited by: Albert Lai on Jun 4, 2009 3:24 PM

  • How to combine a stacked bar chart and a line graph together in one report

    I have a report in excel that has stacked bar chart and a line graph together in one report. I am trying to recreate the same in Webi, Is this possible? Did any one have similar requirement, could you please share the thoughts?
    Thanks,
    Hema

    May be I don't understand correctly...
    But if its really to separate chart area's;
    just copy the datablock and format one as line and the other as barchart...
    Hope this helps,
    Marianne

  • 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

  • Sharepoint Chart Webpart - Stacked bar chart

    Hi,
    Could someone explain me how to create a stacked bar chart in sharepoint 2010? I have tried creating the chart and its not populating the values correctly.
    For Ex: 
    Day Of week      Change1   Change2   Change3   Change4
    Saturday               5                  10               4            2
    Sunday                  8                  21              1             23
    Monday                 12
     14     34
       12
    Tuesday        9
      2      12
        1
    With the sample data above, I was checking the graphs in excel and sharepoint 2010, but both are not showing the charts in the same manner. Could someone let me know why is this issues about?
    Any help is greatly appreciated.
    Thanks
    Jithin

    Elninoshed
    If I understand you correctly, you want the chart to display a calculated value and for the chart to take its data from a hidden list that can be filtered.  If this is correct, the answer is yes.
    In the image below, I have created chart based upon the Northwind Traders Products list.  The chart presents products by their total product inventory value, which is equal to: [Units in stock] x [Unit Price].  The chart is connected to a hidden
    list web part that takes its data from the Products list.  To the left of the chart is a List Filter web part, which allows the user to select a category of products to filter the hidden list by.  Filtering the hidden list immediately affects the
    chart that is connect to it.
    Here's a link to an excellent Microsoft Office articles that walks you through how to connect a filter web part to a list.
    Connect a Filter Web Part to a List View Web Part

  • Stacked bar chart with percentage in Xcelsius

    Hi,
    I want to  create a stacked bar chart(Horizontal) for the following data
    Project 1  --- >    2140, 177,  288, 135
    Project 2  --->     856, 44, 658, 120
    For following status respectively
    Completed,      Pending ,Partially completed,  Not Started
    Project 1 and Project 2 will be on Y axis.
    I want this data to be divided in percentage.
    as shown below
    Project 1 |___135_____|___177_____|______2140_______|
    Project 2 | __44__|___120_____|________856__________|
    0              20           40 ........                          100
    How to achieve this in xcelsius?

    I don't understand why you are soying it is not possible.
    Actually I think it is and quite easily but maybe i missunderstand the question.
    But anyway, here is what I would do:
    In the spreadsheet, you can calculate the percentage of each status per project:
         Completed     Pending     Partially completed     Not Started
    Project 1     78.10%     6.46%     10.51%     4.93%
    Project 2     51.01%     2.62%     39.21%     7.15%
    And then select these data for the stacked bar chart. Here you get the graph you are looking for.
    Oli

  • Stacked bar chart with negative values

    Hi,
    trying to create a stacked bar chart I only get a grey picture. Reason: my data series provides positive and negative values.
    Can anyone tell me a trick how to fix this problem?

    User614143,
    try to add the minumm negative value (but positive) to the parameter for the axis.
    e.g. show value+3000 (assuming -3000 is the minimum value)
    If you don't have a limitation for the negative values, it doesn't work. (or try to calculate first the most negative value in a before header process)
    hope this helps.
    Leo

  • 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 on stacked bar chart?

    Hi,
    I am trying to create a stacked bar chart. On this chart, Y Axis is the status like new, half finished, finished, X Axis is the value. 3 series: North America, Asia, Europe.
    On the Y Axis, the order of the status from top to bottom should be new, half finished, finished. But North America doesn't have status of new. Asia doesn't have status of half finished. When I run this chart based on the order of the series above. The Y Axis on the chart ends up the order like: half finished, finished, new.
    How can I correct it?
    Thanks for your help.
    Helen

    Can someone help me?

  • IGS Stacked bars chart

    Hi,
    I am trying to create a Stacked Bar chart using IGS(Internet Graphics service) Chart Interpreter. 
    By default it display 5 intervals  with the ranges (0 - 20 - 40- 60 -80-100).
    I want to display 10 intervals with the ranges ( 0 - 10- 20-30-40-50-60-70-80-90-100)
    How do i changes Intervals on the X-axis?
    I am try to build upon the example program "GRAPHICS_IGS_CHART_TEST" we have in ECC 6.0
    Any solutions/hints would be helpful.
    Thanks
    Shekar

    Hi,
    to have the desired values in the axis you can set the stepsize of the value axis line to 10. The resulting XML snippet for the chart customizing would look as follows.
    <ValueAxis id="ValueAxis1">
    <Line>
    <MajorTickCalculation>ManualStepsize</MajorTickCalculation>
    <NumberMajorTicks>10</NumberMajorTicks>
    </Line>
    </ValueAxis>
    I would recommend to use the chart designer to create this setting. Value Axis --> Line --> Major Ticks. Here set Major Tick Calculation to Manual Step Size and the Number to 10.
    Best regards
    Matthias

  • Help with a stacked bar chart

    I am attempting to create a stacking bar chart which expresses monthly sales goals and monthly actual sales together as one bar. Visually, it would look like a thermometer, with the sales goal rendered as an outline, and the actual sales filling in the outline. So both bars should start at 0.
    Dollar amounts appear up the x-axis, and the months appear across the y-axis. There will be 12 bars per chart. Unfortunately, each month has a different goal.
    Is there a way to create this type of chart, using only one chart? (Not by stacking two charts on top of each other.) My boss, who has requested this chart, will be updating it herself, and has told me she needs it to be as simple as possible.
    Does anyone have any suggestions for getting the bars to stack on top of each other, instead of adding together? Thank you for your time and assistance.

    Jody,
    I'm sorry that I missed that you didn't want an overlay solution. You wrote it plainly, I just didn't read carefully.
    This is as close as I could come to how I now read your request:
    Here I have charted your Actual and a column of zeros that I have called the Goal Reference. The last column contains the goal values and I have used them as Positive Custom Error Bars for the Goal Reference series. I'm not thrilled with the look, but unless I know for sure that I'm on the right track, I'll leave it there for now. The width difference between the goal and the actual can be adjusted.
    Jerry

  • Urgent: Combination of stacked bar chart and line chart

    Hi,
    I have the following request: First I need series depending on the year (no problem) and two stacks for each series (first problem). Now I need two line, line 1 for total of stack 1 and line 2 for total of stack 2. Both lines should have a label showing the difference from one to next series in percent.
    Can something like this be done in BI Publisher. I got an excel sheet with such a chart, so it is possible there. Any templates, hints or tipps?
    I need this very urgent because it's the main report of my project. So if this is not working I can stop the project and have to find another reporting tool.
    Thanks
    chrissy
    Message was edited by:
    chrissy

    I've made again some tests by myself and recognized that there's something strange in the chart.
    When I create a stacked bar chart with values of DURATION, labels for TYPE_NAME and series of YEAR the first thing is, that it is not ordered. So how can this be done?
    The second error, is hard to explain ...
    Let's say I've the following values:
            Type1     Type2     Type3
    2005    1            2             3
    2006    4            5             6
    2007    7            8             9I would expect the following chart:
    2005     2006     2007
    1             4          7            Type1
    2             5          8            Type2
    3             6          9            Type3But the chart shows me the following:
    2005     2006     2007
    1             7          4            Type1
    5             2          8            Type2
    3             6          9            Type3You can see, the values are totally mixed, the code of the chart is the following:
    chart:
    <Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <MarkerText visible="true" markerTextPlace="MTP_CENTER" />
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW,  'YEAR'))}" rowCount="{count(xdoxslt:group(.//ROW,  'TYPE_NAME'))}">
    <RowLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <Label>
    <xsl:value-of select="current-group()/TYPE_NAME"/>
    </Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
    <Label>
    <xsl:value-of select="current-group()/YEAR"/>
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="YEAR">
    <Cell>
    <xsl:value-of select="sum(current-group()/DURATION)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>Otherwise I had made the following to have a stacked bar for duration and one for outage:
    chart:
    <Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW,  'YEAR')) * 2}" rowCount="{count(xdoxslt:group(.//ROW,  'TYPE_NAME'))}">
    <RowLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <Label>
    <xsl:value-of select="current-group()/TYPE_NAME"/>
    </Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
    <xsl:sort select="YEAR"/>
    <Label>
    <xsl:value-of select="current-group()/YEAR"/>
    </Label>
    <Label />
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="YEAR">
    <Cell>
    <xsl:value-of select="sum(current-group()/DURATION)"/>
    </Cell>
    <Cell>
    <xsl:value-of select="sum(current-group()/OUTAGE)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>The only thing I miss is a label for each stack, what is shown (so duration or outage) and of course the line.
    Thanks for any help
    chrissy

  • 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

Maybe you are looking for

  • Ipod classic crashes intermittently and    frequently

    My 160 gb classic ipod that is no longer covered by warranty (purchased in 2007) makes some weird sounds in addition to crashing and freezing. sometimes I believe that the problem is due to the battery not holding a charge. At other times I wonder if

  • RRI not working in the QA system urgent plzzz

    Hi All, I had created the RRI its working fine in the developement. When i Transport it to the QA the RRI r not working, but I am able to Run the Individual Reports. Plz let me know what may b the problem. Another thing is I had created the YTD its w

  • Predelivered Content for SAP EREC  to be imported in PI

    Hi , Could you explain how can i get the  SAP's standard predelivered content of SAP EREC (TPZ file ) to be imported in PI ? I need to do this inorder to use the SAP's recommended Message Interface  / Service Interface . Regards. S

  • Duplex mismatch problem

    Hi, I have connectivity like this: customer switch forced to 100Mbps/Full duplex----------My end ME-3400-24TS-D configured for Auto negotiation. ME-3400 negotiating with 100Mbps/Half duplex. Customer facing CRC. Forced ME-3400 to 100Mbps/Full duplex,

  • Date range mapping for dimension

       Hi Guys, I am looking for a way where I can provide DATE as a range for dimension , Any such possibilities anyone is aware of ?? Please suggest For string or number I have used something like  Country A - B C - D etc Salary 10000$ - 50000$ 51000$