Howto create a graph "Floating Stacked Bar"

Hi everybody!
My requirement is to implement a graph like this:
https://dl.dropboxusercontent.com/u/18609389/ScreenShot350.jpg
It seems to be a "Floating Stacked Bar", but I'm not able to find any tutorial or reference to do that.
For each year, I have to draw a red bar towards the upside with a positive value, and a blue bar towards the downside with the negative value.
I know how to to get the data, but down know exactly how to compose the VO query that the graph is expecting.
Thanks in advance!
Jose.

Hi Frank,
Yes I've done it already, but my problem seems to be with the data.
I'm trying something like this to simulate the case of the screenshot above. This is the data returned by my VO:
Year  Realized(Red) Unrealized (Blue)
2013       900            -200
2014       600            -300
This is the configuration of the binding:
https://dl.dropboxusercontent.com/u/18609389/ScreenShot351.jpg
But only is displayed this:
https://dl.dropboxusercontent.com/u/18609389/ScreenShot352.jpg
Don't understand what am I doing wrong and there aren't any examples in the doc about this graph.
Thanks,
Jose.

Similar Messages

  • Need a few hints for graph component Stacked bar

    Hi to all,
    JDeveloper11gR2
    i need a little step by step tutorial to create a stacked bar graph component to answer the following questions.
    which data table structure i need?
    which data structure i need? horizontal (columns stacking) or vertical (rows stacking)
    Will i need the hierarchical graph option in the creation wizard?
    I think the documentation unattended a litte bit the useful stacked graph component.
    Thank you very much.
    Best regards
    Gunnar
    Edited by: gkieck on Dec 14, 2012 12:06 AM

    ...

  • WAD 7.0 chart type stacked bars

    Hello,
    i have created a chart type "stacked bars", now i have one problem, i would like to create a sum over
    the bar ? How can i do this. i have the sum in my query.
    Thanks in advance
    Detlev

    Hi Detlev,
    you see the sum (result in the query), but not in the chart, is that right?
    If so, it might be, that the web template is cached somewhere (happend to me quite often). So try to delete the cache on the system, where you cannont see the sum. (in ABAP server you can do that in SMICM, in JAVA probably in NWA - but ask basis or portal guys to do that)
    It might be also good idea, to test if it is really "chache problem", to first change some other paramater of the chart (colour or something) to see the actual version (the one, where the sum should be seen) is displayed on web or not.
    Regards
    Pavel

  • Stacked Bar Graph with a line plotting count

    Hi everyone
    I am facing a problem with plotting a stacked bar graph with a line or dot for count.
    I have 2 y axes and one x-axes.
    Can anyone help out with suggestions as to how to do this in 9i Reports.
    Thanks
    Neelima

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

  • I need a stacked bar graph stacked but overlaying data help please

    Hi,
    I have a requirement to change an existing combination graph.
    Currently we use a combination graph that has a bar that shows the usage accross a number of weeks, with a line that shows total available over the top. So the customer can see what they have used in a week against themaximun it could be used in that week.
    Unfortunatley our customer would like this changes to a single bar graph that shows the usage and then if the total available is more than the usage (it is sometimes the same but never less) then this should be added to the bar graph to increase the bar in a different colour.
    I have looked at Reports 10g and the stacked bar graph seems perfect but this adds the two values together and not just the increase. I know i could minus one from the other but with the way my data is structured in the data model this could be a pain as they are linked via a data link in the data model and also seems a bit of a work around. Is there no way to have a overlay on the stacked graph or is there another way to achieve this that i cant see.
    Thanks

    I was able to figure it out.
    Instead of using creating the dataset using:
    CategoryDataset datasetWorkload = DatasetUtilities.createCategoryDataset()
    if a 'DefaultCategoryDataset' is used, the values to be displayed can be customised:
    DefaultCategoryDataset result = new DefaultCategoryDataset();
    result.addValue(200.0, "Allocated", "Jan 04");
    result.addValue(500.0, "Allocated", "Feb 04");
    result.addValue(10.3, "Over-Allocated", "Jan 04");
    result.addValue(16.2, "Over-Allocated", "Feb 04");
    Thanks for your time, users: wpafbuser1 and practissum.

  • Two stacked bar in one graph with Answers

    Hi,
    I'm trying to join into one graph four measures. So, we want to show two stacked bar, each bar with two measures. Is it possible with OBIEE tools??
    TIA
    Javier

    If all you want is a stacked bar, you have an option under the type of the graph. select 2D/3D stacked. Also, while creating select all the measures that you want in the graph. That should give you a stacked bar graph. But if you want something like this
    Measure1 Measure3
    Measure2 Measure4
    (Stack1) (Stack2)
    i dont think it is possible out of the box.
    Thanks,
    Venkat

  • Stacked Bar graph in ABAP

    Hi,
    Can I create a Stacked Bar graph using ABAP Function Modules?
    If yes, can anybody please explain how with any suitable example. I also need different colors in each bar of the graph.
    Any help would be appreciated.
    Thanks.

    [Displaying 3D Graphs in ABAP |http://wiki.sdn.sap.com/wiki/display/ABAP/Displaying3DGraphsinABAP]

  • Line stacked bar graph without seperate measure for stacks

    Hi All,
    I want to create a line stacked bar combo graph in analytics but i do not want to create seperate column for each stack as the normal convention is since we want to show revenue based on region which keep adding up.
    Can anyone guide about what pcxml to use for this.
    I tried by modifyng the charts/linecolumn.cxml but it shows line also stacked which is not our requirement. There should be a single line only for this.
    Can anyone please guid me for this?

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

  • Percentage stacked bar graph in BO dashboards?

    How to create a percentage stacked bar graph in BO dashboards? The graph should be compatible with Mobile/Ipad. I understand this is not available out of box. Looking for workaround solutions only

    Hi vijay,
    As sara said stacked column chart is supported for mobile view. you can validate it in your mobile compatibility property window.
    To turn the normal value into percentage, you can do that in DB level or if your using Bex Query you can calculate in query designer. If not you need to apply the formula in excel level.
    Take a look at my attachment, you will get a better idea. Revert for more clarification if required.
    Happy to help you.

  • cfchart Can I overlay a none-stacked cfchartseries type="line" over a stacked bar graph?

    Creating the stacked bar graph works well... but I'd like to overlay some non-stacked line-type chartseries over the bars.  I don't appear to be able to do this as the lines just stack on top of one another.
    Any ideas if you can mix stacked bars with non-stacked lines? (CF8)
    Thanks

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

  • 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.

  • Using stored parameter from data control class with stacked bar-graph

    Hi folks,
    I'm relatively new to ADF & EJB so I want to apologise in advance if this question seems rudimentary to many of you.
    Edit:  I should have mentioned that I'm using JDeveloper 11.1.1.5
    I'm having a hard time determining how to retrieve the value from a variable to be assigned to a property of the bar graph I'm trying to display on my JSF page.
    I have tried to briefly summarise the logic below for reference.
    I have a data control class (ActivityChart) that includes a method "getActivityDetail" returns a List of custom Objects (ActivityDTO) that are the underlying data for my bar graph.
    public class ActivityChart {
        private Double axisScale;
        public ActivityChart() {
            super();
            axisScale = 0.0;
        public List<ActivityDTO> getActivityDetail(List<String> businessUnits) {
            List<ActivityDTO> returnNewList = new ArrayList<ActivityDTO>();
            List<TransactionDTO> dataList = new ArrayList<TransactionDTO>();
            TransactionSessionBean transBean = lookupTransactionSessionBean();
            if (businessUnits != null && !businessUnits.isEmpty()){
                dataList = transBean.getActivityData(SystemUtil.getCurrentUser(), businessUnits);           
                returnNewList = processTransactions(dataList);
                axisScale = calcAxisScale(returnNewList);
            return returnNewList;
    ...The TransactionDTO object is basically a mirror of the entity object to store the fields from the queried db transactions.
    The ActivityDTO object contains a String value (x-axis label) and 3 Double values for the values required for the bar graph.
    What I'm trying to do is dynamically set the scale for the 2 y-axes (I'm using a dual-axis stacked bar graph) because the auto calculated values are not aligned.
    Right now I've got the two relevant elements of the bar graph hard-coded with a specific axis value:
    <dvt:y1Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>
    <dvt:y2Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>.
    The value I want to use for the Y-axis is calculated and stored in the "axisScale" variable in the above class.
    Really at a loss of how to move forward from here.
    Would very much appreciate any guidance/direction offered.
    Thanks,
    Karim
    Edited by: 973742 on Nov 28, 2012 8:12 AM

    Looks like I may have found the answer!
    I had to set up the variable in the bindings for the page and then reference the variable from the binding and add the property inputValue.
    ie. value="#{bindings.axisScale.inputValue}"

  • Stacked bar graph requirement in OBIEE 11g

    Hi,
    I have stacked bar graph. I want to display units on the middle of each stack. I can display units, but by default these units are displayed on top of each stack. I checked properties of data markers, but I did not get any option to display data in the middle of stack.
    I am using OBIEE 11g.
    Is there any way to accomplish this?
    Thanks.

    We recently logged an Enhancement Request for the same with Oracle: Bug 15928667 : ENH DISPLAY DATA LABELS IN STACKED BAR CHART WITHIN THE BAR GRAPH ITSELF
    There is no way out-of-box to do this as of right now.
    Please assign points if helpful/correct.

  • Stacked Bar graph with multiple bars

    Hi,
    I want to have a graph where I will have multiple stacked BARs. Having single stacked bar is OK.
    Is there a way to achieve this ? I am using 11.1.1.2 ADF and ADFBC
    For Ex:
    You have
    -TV sales per month for different regions
    -DVD sales per month for different regions
    I want to have 2 stacked BARs one for TV and one for DVD. X axis will have the date ..
    Thanks

    From what i understand, i think you are looking Dual Y Bar graph.
    For more information, look into this documentation - http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12418/tagdoc/dvt_barGraph.html
    Thanks,
    Navaneeth

  • How to create stack bar chart on answers that shows % and counts?

    Hello guys
    I currently have a table that have several columns, each column represent one product name, and one column name "units" indicating how each product is sold...
    The requirement is to create a chart view with stack bar that shows the percentage of each product''s unit sales.
    Now we are discussing whether we should customize the table to consolidate all these product columns into one "product desc" column with all the product names as row in order to fulfill this requirement..
    PLease let me know whether this is needed or not... ALso, how would I be able to create stack bar charts that shows the total sales against each product sales in percentage and counts?
    Please let me know, I really appreciate it

    I tried to do this and was a bit successful. I used the paint catalog. Created a a request with 6 columns assuming units and dollars be stacked and Year ago units to be a line:
    Brand Units Dollars 0 Year_Ago_units 1
    Added a new request (Combined with similar request and selected paint subject area): Now in this request my columns are:
    Brand 0 0 Year_Ago_Dollars Year_Ago_units 2
    Assuming Year_Ago_Dollars be standard in your case.
    Created a chart view with brand and 1 on x axis and Units, Dollars, Year_Ago_Dollars on y axis and line as Year_Ago_units.
    Now able to see what I am expecting. May be you need to tweak a bit more according to your requirement.
    Let me know if this is of any help!
    Thanks.
    Edited by: Venkata on Sep 30, 2010 12:11 PM

Maybe you are looking for