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.

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

  • 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

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

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

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

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

  • Stacked BAR Graph

    Hi Gurus,
       Can somebody give me an idea, how do i use the GRAPH2d/ GRAPH3D function modules, to get a Stacked bar graph?
    I have seen the GRAL transaction for examples, but i don't see any example for Stacked Bar Graph.
    I would appreciate some help in this regard.
    Thanks and Regards,
    Ravi kanth

    Hi Swathi,
    I guess you don't get it in staked bar graph. because how can you identify A, B when C(0-300) is completely overlapped A, B ? use normal bar graph instead.
    Thanks
    Jay.

  • Dual Y stacked bar graph - how to force both y scales to be the same size

    Hi,
    I use dual y stacked bar graph to show values side by side. Since one value is smaller, Y scales have different max values. How can I fore them to be the same?

    Hello,
    OK. This means you need automatic scale for the y axis.
    BTW: Why do you need dual y axis if they should have the same scale?
    The common use case for dual y axis is to show two series with different units and/or scale.
    regards
    Peter

  • TabularData for DVT Stack bar Graph

    Dear All,
    I used tabulardata to supply value fro my stack bar graph component and I used the code below
    public class Stackbar
      public List getTabularData()
        ArrayList list = new ArrayList();
        String[] rowLabels = new String[]
          { "Dry Goods", "Wet Goods", "Misc Goods" };
        String[] colLabels = new String[]
          { "May 2009", "June 2009", "July 2009" };
        Double[][] values = new Double[][]
            { 50000d, 122000d, 175000d },
            { 90000d, 110000d, 150000d },
            { 65000d, 50000d, 95000d }};
        for (int c = 0; c < colLabels.length; c++)
          for (int r = 0; r < rowLabels.length; r++)
            list.add(new Object[]
                { colLabels[c], rowLabels[r], new Double(values[r][c]) });
        return list;
    }JSF is simple
    <dvt:barGraph id="barGraph1" subType="BAR_VERT_STACK2Y" shortDesc="Sample bar"
                              tabularData="#{viewScope.stackBarBean.tabularData}">
                  <dvt:background>
                    <dvt:specialEffects/>
                  </dvt:background>
                  <dvt:graphPlotArea/>
                  <dvt:seriesSet>
                    <dvt:series/>
                  </dvt:seriesSet>
                  <dvt:o1Axis/>
                  <dvt:y1Axis/>
                  <dvt:y2Axis/>
                  <dvt:legendArea automaticPlacement="AP_NEVER"/>
                </dvt:barGraph>But I am not able to have a stack bar graph and the data isnt stacking..
    Kindly see the image here http://imageshack.us/photo/my-images/831/stackbar.jpg/
    My playground code can be downloaded here...
    http://code.google.com/p/my-dev-projects/downloads/detail?name=PlayGround.zip&can=2&q=
    How do I formulate the tabular data values correctly so that I could achive the correct stack bar graph component
    Thanks.
    JDEV 11.1.1.6

    Well...found the solution myself...
    Kindly disregard please..thanks

  • 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}"

  • Sort legend area in stacked bar graph

    Hi!
    Is it possible to sort the legend area in a stacked bar graph?
    Br
    Casper

    In the chart data editor, click and drag one of the the rows to change the ordering:

  • I have lost my Safari url bar ,tried view/customise toolbar but when box opens there is no address bar to drag back can anyone help please

    I noticed a couple of days ago that my url bar on my imac was no longer there,I am new to the apple community and I am not sure how to progress with my qustion. I have tried selecting :- view / customise toolbar but the dropdown box which has various options to drag and drop does not show the address bar I am stuck can you help

    Thanks.... I too had this problem and didn't have a clue why it disappeared at times and how it reappeared as well.  Got another bird with the same stone
         Re: I have lost my Safari url bar ,tried view/customise toolbar but when box opens there is no address bar to drag back can anyone      help please 
         Aug 15, 2012 10:09 PM (in response to jame5allen)
         Go to: Safari>View Menu>Select 'Show Toolbar'.
    BCV

Maybe you are looking for

  • URL not opening in new window

    Hi Gurus, I am stucked in a problem related to Portal. I am developing a portal page under which many Links with URL's will be listed. I want all the URL's should be opened in a separate window. I am unable to do so. Appreciate any quick help on this

  • Adding a custom cursor to a panel

    HI, I am making a game where i want clicking a radio button to change the cursor image. I have figured out how to create a custom cursor, and even change the current cursor to it. The problem im having is i want to change it while the program is runn

  • Sr Expert Advise from Forum

    Hi, secnario rfc>soap(Digitally sign and encrypt) error: IAIK REJECTED BY CERTICATE we are trying to test signing and encryption using soap1.1 in pi7.11 system we created test interface ,we checked mapping it is ok i created private certificate and g

  • First Consolidation  purchase method subsequent consoli.. in Equity method

    I have a scenario where the business wants to eliminate investments and equity postings. So investment should be offset against equity.(like in Purchase method). After the client also wants the Net income from the investee to be rolled into parent .(

  • Thinkpad600 - the 0(OFF) I(ON) error when CDROM is connected

    My friend gave me a Thinkpad 600. Type: 2645350 S/N:55132RW Configuration: CPU Pentium II 233 MHz RAM 288 MB (Internal 32 MB + 128 MB + 128 MB in expansion slots) HDD bay: 5 GB IBM HDD Ultraslim bay: original FDD FRU P/N 05K8874 When I switch on the