Stacked Chart

Hi All,
In my application im on the verge of using stacked chart. i followed of developing it from the below link
http://apex.oracle.com/pls/apex/f?p=36648:59since i have 15 request in my application, each request referring the 15 separate tables.
i want to show the stacked bar chart based upon the status of each and every request
i have four status(new, approved, rejected, need for information)
The stack chart has to be like it needs to show 15 separate bars for each and every request.
Since the bar of the individual request will be in different color (as these color representing various status with their numbers).
How i can proceed with this.
In that link they referred, they used case statement, but in the case statement they hardcoded the values like (20, 30, 40) for each color.
But i dont need of harcoding as it has to show the value referring the table(depending upon the status available)
Any help with this??
Regards,
Mni.

Hi sush,
After testing the issue in my environment, I can reproduce it. If there are some sections with small value in the column, the label will be overlapped and black arrow are shown in the columns due to the insufficient space.
If we want to remove the black arrow, please refer to the following steps:
Click the series on the chart. Expand the “SmartLabels” Property in the Properties window.
Set the “CalloutLineAnchor” property and “CalloutStyle” property to None.
Click the arrow below “CalloutLineColor” property. Select “More colors” option.
In the Select Color dialog box, select White color, and modify the Alpha’s value to 0.
To narrow down issue that series label got overlapped, we can try to set the vertical axis interval to a small one. This will make the lower values big enough to display the label. However, it will make your chart really tall for the ones with high values.
Alternatively, we can use Tooltip property to instead of actually displaying. Type the same expression with Value field in the Tooltip property.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Stacked chart help in apex 4.0

    Hi All,
    I am working on a stacked chart.below is the query
    select  null link,range label,count(total) value1,Dept value2 from
    (select '0-10' as range,count(emp_id) total,Dept from table
    group by Dept
    union all
    select '10-20' as range,count(emp_id) total,Dept from table
    group by Dept
    select '20-30' as range,count(emp_id) total,Dept from table
    group by Dept
    union all
    select '30-40' as range,count(emp_id) total,Dept from table
    group by Dept)
    i need to display the count of employee id in each department as  a stacked series. Can anyone please help me to how to get this
    Regards
    Ark

    Sorry. I just realized that I was logged-in as a "developer" not as the APEX Admin which, of course, is why I couldn't find the "security" option. I had too many windows open at once.
    Elie

  • Problem in Stacked chart Reports

    Hi,
    I was trying to create a report of Stacked Chart type. I was able to create it successfully But I still face these problems.
    1. When I group the data based on an attribute of type Date, The date format appears (at the bottom of Stacks) like 2009,Jan,Day20 (if the date is 20th jan2009).I have tried to change the value format of date in the Value format Tab. But What ever is the format I choose, the date still gets displayed as 2009,Jan,day20. Please advise..
    2. The second Issue is that when ever there are no records for a stack I can see the value displayed as 0.0. This really does not seem good on the report. Please let me know the steps to be followed to avoid this problem.
    You can see a screenshot of the above problems *here*.
    Thanks,
    Raj Kumar

    Hi all,
    I am facing a problem in printing Crystal Reports in Windows Forms app. Normal application flow is working like charm but I want to handle the situation when printer is not available or is not ready for printing. I was looking for WMI but I am facing problem
    like mentioned
    here, that my printer always return Status 3 or State 0 (idle). Now Now I am looking for exceptions of PrinttoPrinter method of Crystal Reports but yet no luck. Any idea will be appreciated.
    Thank in advance 
    For issues concerning third party products you should contact the vendor of the product for support. Which would be
    SAP for Crystal Reports.
    Also you say WMI apparently says your printer is idle. I don't know if that means your printer is available or not.
    Can other programs print to that printer? If so then it is available. If Crystal Reports can not print to it even though it is available then SAP would be the place to try to get an answer.
    La vida loca

  • Width of stack chart not getting retained in Flex 4 but working in Flex3

    I have a stack chart on  my dashboard when I click on stack chart it become a column chart. When I trying  to come back on stack chart by clicking on column chart the width of columns of  stack chart does not match with the previous stack  chart.
    Note: The same code is  working fine in flex 3 version.
    How can I maintain the  same width in both stack charts in flex 4 as it is performing in  flex3?
    Step 1 Monthly stack chart.
    Initially when I click on the equipment break down checkbox the stack chart appears as shown in the below screen shot.
    Step 2: Monthly chart: Then when I click on the above “Monthly stack chart”, then I resume to my original bar chart appearance as shown in the below screenshot.
    Step 3: Monthly stack chart: Further when I click on the above “Monthly chart” bar chart and move back to the “monthly stack chart” it appears as in the below screen shot in flex 4. The width of the chart in step 3 does not match with the width in step 1 of “Monthly Stack Chart”.
    Note: In flex 3 the same step 3 appears to be as shown in the below screenshot.
    How can I maintain the same width in step 1 and step 3 charts in flex 4 as it is performing in flex3?
    CODE:
    /* When click on column chart */
    private function chartDrillDown(e:ChartItemEvent):void
    {var colsr:ColumnSeries;
        If (chkEquipmentBreakdown.selected) Then
           {    loadBreakdownDataForMonth((e.hitData.chartItem.index)+1);
                         IsMonthly=true;
        Else
                DrillState=e;
                  DrillLevel= DrillLevel==0?1:0;   
                      if(DrillLevel==1)
                      {chkDEMO.selected=false;
                            LastValidatedBox.visible=false;
                          siteid = e.hitData.item.VLD_SITE_ID;
                         var obj:Object=e.hitData.item;
                colsr = ColumnSeries(e.hitData.element)
                         strassetname = obj[strTitleField].toString();
                         drillToIndex = e.hitData.item.VLD_SITE_ID;
                        viewequivalentBreakdown();
                        fromAssetToMonthly=true;
                        loadMonthlyData(siteid);
            Else
                      {     if(fromAssetToMonthly==true)
         DrillLevel=DrillLevel==1?0:1;
                          else
                            LastValidatedBox.visible=true;
                colsr = ColumnSeries(e.hitData.element)
                           siteid="-1";
                           ShowHideEquipmentBreakdown(false);
                            loadYearlyData();
                If (IsMonthly) Then
                                  onchkEquipmentBreakdownChange();
                            IsMonthly=false;
    /* Bind data To column chart */
    private function onDataLoadComplete(event:ResultEvent):void
    {                                   webServ.removeEventListener(ResultEvent.RESULT,onDataLoadComplete);                
                      var resultArr:Array = event.result.toString().split("^");
                      xmlData = new XML(resultArr[0]);
                      xmlSeries= new XML(resultArr[1]);              
                      xmlColumns=new XML(resultArr[2]);
                      if(resultArr[3]!=null)
                      {     xmlValidatedData = new XML(resultArr[3]);
                            arrSeries=createSeries(xmlSeries,xmlValidatedData);
        Else
                            arrSeries=creatSeries(xmlSeries);
                      //chart properties
                      //arrSeries=creatSeries(xmlSeries);
                      colChart.series=arrSeries;
                    arrcalc=arrSeries;
                      /*if equipment break down check box checked*/
            If (chkEquipmentBreakdown.selected) Then
                      {colChart.type="stacked";
            Else
                            colChart.type="clustered";
                      colChart.dataProvider=xmlData.Table;
                      cursorManager.removeBusyCursor();
    /* function for load the step 1 and 3 "monthly stack chart".*/
    private function onchkEquipmentBreakdownChange():void
                      colsrs.setStyle("showDataEffect", zoomOut);    
        If (chkEquipmentBreakdown.selected) Then
                      {  GHGDemo.visible=false;
                            AtmosBox.visible=false;
                            chkCompareYear.enabled=false;
                            cursorManager.setBusyCursor();
                            webServ.addEventListener(ResultEvent.RESULT, onDataLoadComplete);
                            if(strTitle==strTitle1)
                                  if(GHGGROSS.selected==true)
                                        webOper = webServ.getOperation("LoadGHGDataMonthlyBreak") as Operation;
                    webOper.send(userid,selectedYear,siteid);
                Else
                                        webOper = webServ.getOperation("LoadGHGMonthlyBreak") as Operation;
                    webOper.send(userid,selectedYear,siteid);
    /* function for load the step 2 "Monthly chart".*/
      private function loadBreakdownDataForMonth(monthnum:int):void
          {   var dayNum:uint = monthnum;
                cursorManager.setBusyCursor();
                      webServ.addEventListener(ResultEvent.RESULT, onDataLoadComplete);
                      var atmosflag:Boolean;
                      var ghggrossflag:Boolean;
                      atmosflag=false;
                      ghggrossflag=false;
                      if(strTitle==strTitle1)
                                  if(GHGGROSS.selected==true)
                                        webOper = webServ.getOperation("LoadGHGDataMonthWiseGross") as Operation;
                            webOper.send(userid,selectedYear,siteid,monthnum);
                                        ghggrossflag=true;
            Else
                                        webOper = webServ.getOperation("LoadGHGBreakDownDataMonthWiseNet") as Operation;
                           webOper.send(userid,selectedYear,siteid,monthnum);
    <mx:ColumnChart id="colChart" itemClick="chartDrillDown(event)"  dataTipFunction="dtFunc">
            <mx:horizontalAxis>
               <mx:CategoryAxis  id="catAxis"  />
                      </mx:horizontalAxis>
                <mx:verticalAxis>
                  <mx:LinearAxis id="lnrAxis" baseAtZero="true" minimum="0" title="" labelFunction="defineVerticalLabel"/>
                </mx:verticalAxis>     
                <mx:horizontalAxisRenderers>
                <mx:AxisRenderer   axis="{catAxis}" labelRotation="45">
                </mx:AxisRenderer>
          </mx:horizontalAxisRenderers>
      </mx:ColumnChart>    

    Thanks for your reply,
    I am using the Adobe flash builder 4 and the Adobe flash player 10. To upgrade from flex 3 to flex 4 I just opened the project in flex 4.I am using the default skins/themes of Adobe flash builder 4.
    But it is not working as flex 3. Please suggest some other option.
    Thanks...

  • WebI Horizontal stacked chart formatting issue

    I have created a stack chart report and I have labels defined in the X - axis. We have the issue with the gap between the X - axis line and the labels. We would like to know if we can reduce this gap between the axis line and the labels. I have attached the sample image below for your reference.
    Edited by: Madan Chellu on Aug 31, 2009 11:51 PM

    Not really.  I need to have stacked bars grouped.  For example, assume you had survey results.  For question 1, you had a bar with 20 disagrees, 5 neutrals, and 50 agrees.  For question 2, a bar with 10 disagrees, 2 neutrals and 30 agrees, and so on for say 10 questions.  This would be your stacked bar chart.  Now, say you had information spanning a number of years, 2008, 2009, 2010.  What I want is a group of stacked bars (3 one for each year) for Q1, then 3 more stacked bars for Q2 and so on.
    This is a combination of the grouped and the stacked bar charts.

  • Stacked chart with groups

    Hi
    I don't know whether this kind of chart is possible but perhaps someone can help me.
    I want to create a stacked chart with groups e.g. 6 sersies divided into two stacked bars (there are 2 bars per label, each stacked of three values)
    Does anyone know how can I do it?
    Regards

    Yes, but I want to have two bars (each stacked) per label (e.g. Jul-06).
      |    |  
      |____|  
      |    |   ____
      |    |  |    |
      |    |  |____|
      |____|  |    |
      |    |  |    |
      |    |  |____|
      |    |  |    |
      |    |  |    |
    -------------------||------------------||----------
       Jun-13                  Jul-13

  • Text on xAxis for stacked chart

    Hi All,
    I am using the following code for stacked chart control. I am able to display the text along Yaxis but not able to do the same with xAxis. I am uding the following code. Please advice.
    var testchart = new sap.viz.ui5.StackedColumn("oChart",{ 
      width: "50%", 
      height: "50%", 
                         title: { visible : true, text : 'Production Field1' },
                         xAxis : {
                    title : {
                         text: 'test',
                      visible : true
                yAxis:{
                  title:{text: 'BOE (Thousands)', visible:true}
                         dataset: dataset 
    Thanks in advance.

    I was not aware that it was slower. It could be that, by trying to plot all four at one time, you are putting the processor through more work as opposed to updating four charts at different times. Even if they seem to update at the same time, they could not technically do this because execution would only run one at a time. Just a thought...
    J.R. Allen

  • Legends in stacked chart

    Only the values in the first vertical column in the stacked chart blocks is displayed in the Legend.
    For EX:
    Totally i have 5 items in the stacked chart blocks.
    My chart has 2 items in first vertical column in the stacked chart,
    3 Items in the second vertical column and
    all 5 items in the third vertical column.
    Now only 2 items displayed in the legend values, rest 3 items in 2 nad 3rd column of the chart is not displayed.
    Could any only please help on this ???
    Regards,
    Manoj

    Hi Anshul,
    You can display either data value or data label in a stacked column chart by checking the Data Label Displaying Mode option under Format Chart->Data Values.
    You can also do the same by checking the same option under Format chart->Area Display->Data Values.
    I dont think you would be able to display both in a column chart whereas you would be able to do it in a pie chart.
    Hope this helps.
    Regards
    Sri Harsha

  • Help need for stacked chart in apex 4.1

    I have formed the query for stacked chart (3D or 2D) in APex Ver 4.0.2.00.09 and i have also set the legend display .... Chart is build sucessfully.
    What i expect is when i place the mouse on the each stack in the chart it should say the legend type and corresponding values, instead it shows X axis title and corresponding values.....
    The same query used in Apex Ver 3.2 and its working fine.
    Could anyone please help on this ??
    Regards,
    Manoj

    Hi Maheswara
    I could finally login to APEX. I followed the steps in the forum APEX 3.0  "Invalid Login Credentials" after install and it worked for me.
    I would mention the steps here again for the benefits of others who might encounter the same issue.
    alter user APEX_040100 account unlock;
    ALTER USER APEX_040100 IDENTIFIED BY oracle#123
    Log in as APEX_040100 user and run the below given PL/SQL block.
    begin
    wwv_flow_api.set_security_group_id(p_security_group_id=>10);
    wwv_flow_fnd_user_api.create_fnd_user(
    p_user_name => 'admin2',
    p_email_address => '[email protected]',
    p_web_password => 'admin2') ;
    end;
    commit
    alter user APEX_040100 account lock;
    Now log in as ADMIN2/admin2 and you can change the password of ADMIN user. In my case when I went to the page to reset my ADMIN account I saw it was marked as "Expired". I don't know why it was set up like that in first place.
    Thanks
    Raj

  • APEX Stacked Chart (APEX 4.1)

    I want to create a stacked chart and the data is all dynamic. I want a bar chart showing usage by all users for a range of days for a particular APEX Application.
    App 1234
    3/1 USER1 22 hits
    3/1 USER2 15 hits
    3/1 USER3 27 hits
    3/2 USER1 56 hits
    3/2 USER6 100 hits
    It looks like the APEX charting tool wants a different series for each different user, which is not realistic. Can I do this in APEX 4.1?

    Yes you can..so you want to group your data and also create a PIVOT table out of the data. If you are going to be having different users be added and removed from the database you will have to create a function that will make the function that will make the chart.
    Instead of going into the gory details...read the following
    http://ruepprich.wordpress.com/2011/03/31/apex-4-charts-dynamically-adding-a-series-2/
    then if you have questions post here and I will help you where I can.
    Rob

  • Stacked Charts in FR

    Hi
    I am doing a stacked report in FR and came across a quirk that i didn't know how to solve
    I am retrieving some calculated values which should all add to 100%. The problem that i am having is that when i do a stacked chart, instead of showing each increments value (i have "show point values" ticked) it's giving me the what looks like a running total.
    So instead of it showing 20, 20,30 etc it's showing, 20, 40, 70.
    Anyone has any idea of how to get around this?
    Thanks
    G

    Hi,
    yup.. the base is the stacked bar chart and i can show as many as lines on top of it..currently i have only one.
    So is that mandatory to create a line chart if i want a line on the stacked bars in CR2008.   
    Can u explain me if i have to go with line chart on top of the stacked bars to get the solution for this?
    Regards,
    Nanda Kishore.

  • Flash Stacked Chart - Only displays 15 columns

    I have created a flash stacked chart. I have 30 values in my series but the chart will only display 15. Is there a setting I am missing
    Thanks
    Owen

    Owen,
    Yes, if you edit the first series query for your chart, near the bottom there is a setting for Maximum Rows.
    - Marco

  • Vertical Stacked chart

    Post Author: tacopscym
    CA Forum: WebIntelligence Reporting
    I am new to the business objects world. I have created  a vertical stacked chart. I now need to sort the vertical stacks in a certain format (the one with the highest total in the graph need to be at the top). I am not being able to get to this. I can do this easily in Excel using a pivot table. Another issue I am having is that when the Y-axis values has no entries then I need an empty column displayed. Currently my X-axis has weeks and Y-axis has errors for the week. I am interested in displaying all the weeks (whether they have errors or no errors), by default it displays only weeks that have errors. Any help in this will be appreciated- Thanks. 

    I believe you are going to have to edit the XML, scroll to the bottom of the Chart Attributes page and select Yes for "Use Custom XML", then you will have to change the chart area x/y/width/height. (you can do the same for the legend as well)

  • Is there a way to create a clustered stacked chart in Numbers?

    I was trying to create a clustered stacked chart in Numbers.  Looks like there are way to do it for excel (multiple steps), but these steps aren't working/available in Numbers.  Trying to make a chart that compares different years (clustered) sources of income (stacked) for each month of each year.  Similar in apearence to this (http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/) where the comodities would be a month, Q1-Q2 Budget representing year 2010, Q1-Q2 Actual representing year 2011.

    Hi Brent,
    I believe that you have two options.
    1. Interlace your categories and then leave a blank row to separate clusters
    2. Make separate charts and overlay them with an offset.
    Jerry

  • Custom stacked chart (3 dimensional data)

    Hi,
    I'm in need of a custom stacked chart.
    i've created an illustration of my needs [here|http://www.picamatic.com/show/2011/07/04/04/45/7669409_402x446.jpg] (see attached picture)
    my need is to illustrate a tool's status over time.
    there are 3 available statuses of a tool and they span across months.
    a minimum period is one month, but it can span over 2 months or more.
    is this kind of graph available in any tool offered by SAP?
    thanks.
    Edited by: BW Team on Jul 4, 2011 2:49 PM

    Xcelsius does not offer this kind of stacked column.
    please note, that im not referring to a normal stacked column which only allows a pre-defined series.
    my stacked columns are supposed to be repeating themselves throughout the column depending on data.
    thanks again.

Maybe you are looking for