Problem with stacked bar chart label

Hi,
According to page export sql file I'm using APEX version 2.0.0.00.49.
I'm trying to make stacked bar chart but no matter what I do I can't have series label to be displayed within the chart area.
Is it a bug fixed in a latter version of APEX ? Is there something particular to do (for example an option to thick) to have them displayed ?
thank you for help.

The answer is yes there is something particular to do.
If you want your stacked bar chart to display well all series have to be the same and not null.
So you must write outer joined queries with nvl in the select.

Similar Messages

  • Problem with Stacked Bar Chart

    I have a problem with a stacked bar chart in Numbers 09. My chart is a single series with 6 categories. All of the categories have different values. The first 5 categories display correctly. However, the last category does not display in the color its supposed to, but rather shows up as white/background instead of the grey color shown on the legend. However, the value label is displayed in the proper place.
    When I select other chart types (pie, regular bar, or regular column) the category shows up like it's supposed to.
    This is kind of annoying since I would rather use stacked bar instead of a pie chart. Is there an upper limit on the number of values it can display as a stacked bar chart? Is this just a bug? Thanks!

    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

  • Problems with stacked bar chart in Java SDK and CRDesigner

    Hi @ll,
    I have an issue with the rendering of stacked bar charts through the Java SDK and the CRDesigner. unfortunately, my research in this forum and with the help of aunt google didn't lead to success.
    These are my problems:
    I have a  stacked bar chart which, when datasets/stacks increase in number per bar, displays errors:
    1.)  the single stacks of the bar merge together randomly and form bigger stacks with the sum of the singles. the information of  single stacks gets lost in the bar.
    2.)  the total sum of all singles is bigger than the maximum value on the y-axis displays. thus, the scaling is wrong.
    1.) appears in the CRDesigner as well as in the Java SDK
    2.) only occurs in the Java SDK
    Is there any trick to turn the random merging of slices off?
    Is the false scaling a known issue and is there a bugfix/workaround?
    many thanks for all advice
    Tom

    hi folks,
    i found the answer to the above problems:
    when you specify the recordfields that are responsible for the change to the next stack or bar, the 'stack' fields have to be unique.
    in my case i evaluated durations in msec (as stacks) from different devices (as bars). randomly i had the same durations for one device. what happens is, that CR does not notice a change and accumulates to the first stack with the same duration.
    surprisingly this also seems to derange the axis scaling. fix the problem by simply using an overall unique recordfield like rownum or a formula that forms the current timestamp to text as identifier for the stacking.
    cheers
    .t

  • 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

  • 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

  • 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

  • Help with stacked bar chart

    Hello,
    I'm looking for help regarding horizontal stacked bar chart. Typically for stacked bars Publisher seems to want data for each stacks per row, but my data looks like this:
    <DATA>
    <ROW>
    <TYPE>Type 1</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 2</TYPE>
    <CLASS>B</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 1</TYPE>
    <CLASS>B</CLASS>
    <TOTAL>20</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 2</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <TYPE>Type 3</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>40</TOTAL>
    </ROW>
    </DATA>
    So each bar would be the TYPE element, and each stack within the bar would be the CLASS element.
    Here is a very crude drawing of what I would want the chart to look like: http://i.imgur.com/3gEdEQ5.png
    How can I achieve this? Thanks in advance.

    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

  • Help with stacked bar charts

    Help..................
    I am definitely missing something.
    I want to do something like the attached, stacked bar chart example.  This is pretty much
    one of the examples.
    What I need is for a horizontal chart instead of a vertical.  When I right click the legend and
    chose bar charts, it only shows vertical.  After messing with this for a couple of hours,
    I give.
    Any suggestions would be much appreciated.
    Attachments:
    Stacked Bar Graph.vi ‏43 KB

    Another stacked bar graph plea for help!
    My scenario: I am recording 3ph current values (red, yellow, blue) on multiple circuits for some electrical tests we do.
    I want to present this data on a screen that is most visible from a distance, so the approach I have taken when I last wrote the software in Delphi was to have each 3 ph circuit represented by a 3 channel bar chart where the three channels are stacked front to back in order of magnitude. This allowed me to add multiple 3 channel circuits next to these to fill the screen from left to right.
    See attached Excel file to make it clear. I hope!
    The main issue I see is that the colour of plot needs to move front to back with the magnitude. ie Red is not always the front plot, it is the 'smallest' of the three plots that stays at the front.
    Some tests we do, may have 12 x 3ph circuits of this type which fills the screen up and can make it very busy. Rather than having 36 plots left to right, by stacking them in groups of three, I reduce the left to right number to 12 plots. The screen can then be viewed from a distance much easier.
    Any suggestions? I am expecting I will need to write my own routine for this, which if I do, i am quite happy to share when complete.
    See (and run) the attached LabVIEW code of my progress so far.
    thanks  Adam
    Message Edited by tca-adam on 11-16-2006 01:27 PM
    Attachments:
    Stacked Bars example.xls ‏24 KB
    Create CurrBal Graph Data.vi ‏21 KB

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

  • Problem with Stacked area chart

    Hi all,
    I'm working on delivery data according to month having input(combo) as the year. I'm trying to display the data in percentages in Stacked area chart having series as ontime delivery, 1 week late, 2 weeks late,........5 weeks late and category labels as months. The problem is when I take the Preview of data I get to see the data for ontime, 1 week , 2 week as it should be but when I hover the mouse over the 2 weeks data area  mouse over values shows 5 weeks data(0 %) where as in reality the colored area belongs to 2 weeks data. I tried to delete 5 weeks series data and now it shows as 4 weeks data.
    What could be the problem ?
    Thanks

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • Problem with Group Bar Chart

    Hi all ,
              i  need help as my requirement is  like i have three values (material,value1,value2) now i want to display data with the help of Group bar chart like for material1 value1 and value2 should be in BAR then again for material 2 value1 and value2 in BAR......  
    right now i am assining  value1 and value 2 to Value column of display template but i am gettin a graph like material1 value1(BAR) material2 value1(BAR) .....  material1 value2(BAR) material2 value2(BAR)...........which value i should set so i should get graph what i mentioned above .
    thanks in advance
    regards,
    Praveen

    Hi,
    Give the material in the label columns...( check with the requirement as the Legend show only the Material )
    Check this also.(May solve your problem)
    Change the type to Bar chart and give the value1 and value 2 in the value columns..
    Hope this may help you...
    Regards,
    Kishore

  • Problems with Value Labels in Stacked Bar Chart

    Post Author: RGR
    CA Forum: Charts and Graphs
    When choosing a stacked bar chart to display the contribution of 2 values to the overall total, the graph plots correctly, but the value labels are incorrect.  Instead of labeling the values for A & B, the graph is appropriately labeled for A ,but the label for B is the total for A+B.  It should be just "B".
    Has anyone else experienced this problem or has a solution.  I am using CR 2008
    TX

    Post Author: Joy Hampson
    CA Forum: Charts and Graphs
    I have this issue a lot with CR XI.  As I have never used CR 2008, I am not sure of the commands.  But in CR XI, right click on the graph and select Chart Options.  On the Data Labels tab, at the bottom there are two options: Cumulative and Absolute.  It defaults to Cumulative, so change to Absolute.  That always works for me.

  • Problems with date in stacked bar charts

    I am having a lot of problems trying to generate stacked bar charts where one of the fields is a date. Using the chart generator in word, the stacked bar charts work perfectly if I use (for example) Labels=Country, Series=Product, Values=Quantity(Sum) . The correct quantities are shown.
    However if I change Country to Expiry (date), the quantities are all wrong ? Such that I have no idea how it is obtaining the values.
    The generated code is :
    <Graph depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20"
           seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
      <Title text="" visible="true" horizontalAlignment="CENTER"/>
      <LocalGridData colCount="{count(xdoxslt:group(.//G_MED,  'EXPIRY'))}"
                     rowCount="{count(xdoxslt:group(.//G_MED,  'PRODUCT'))}">
        <RowLabels>
          <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                              select=".//G_MED" group-by="PRODUCT">
            <Label>
              <xsl:value-of select="current-group()/PRODUCT"/>
            </Label>
          </xsl:for-each-group>
        </RowLabels>
        <ColLabels>
          <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                              select=".//G_MED" group-by="EXPIRY">
            <Label>
              <xsl:value-of select="current-group()/EXPIRY"/>
            </Label>
          </xsl:for-each-group>
        </ColLabels>
        <DataValues>
          <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                              select=".//G_MED" group-by="PRODUCT">
            <RowData>
              <xsl:for-each-group select="current-group()" group-by="EXPIRY">
                <Cell>
                  <xsl:value-of select="sum(current-group()/QUANTITY)"/>
                </Cell>
              </xsl:for-each-group>
            </RowData>
          </xsl:for-each-group>
        </DataValues>
      </LocalGridData>
    </Graph>Any help would be greatly appreciated !
    Cheers,
    Brent

    Thank you all for your replies so far:
    @Alex: You are right, using your short script in sqlplus gives me also 2009 as result
    So, I am now posting the essential excerpts of the procedure because the whole one is to large:
    function insert_szrl (my_fremd_name varchar, my_elementadresse varchar,
    my_zeitstempel varchar, my_wert float,
    my_status varchar, my_zyklus varchar,
    my_offset integer,
    my_quelle varchar, my_nzm_daten integer) return integer is
    begin
    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
    if my_zyklus = 'mm' then
    my_zeitstempeldate := add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1) +1 + (my_tageswechsel+1/24);
    my_days := to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy') - add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1);
    my_year := to_number(to_char(to_date(my_date,'dd.mm.yyyy'), 'yyyy'));
    ptime.umschalttage_tuned (my_year, my_ws, my_sw);
    end if;
    While debugging the complete procedure I see since the start only a date which looks like '01.04.2009 07:00:00'
    Edited by: user10994305 on 19.05.2009 15:58
    Edited by: user10994305 on 19.05.2009 15:58

  • SSRS Stacked Bar Chart Smart Label Problem

    I have a SSRS 2008 Stacked Bar Chart. When the bar values are close then the Series labels often merge and overlap making the value unreadable. I have set the properties so that Smart Labels AllowOutSidePlotArea is true, NoMoveDirections Right = False etc.
    but they still overlap.
    How do I set so that the values are plotted in a readable manner?
    Thanks

    Hi CDG100,
    According to your description, it seems that the issue which you occurred is that series label got overlapped when there are some sections with small value in the bar. If in this scenario, there are several properties you can use to try to get the labels
    to fit better. The SSRS 2008 charts contain a feature called smart labels, and we expose a lot of options that control their behavior. Here are some properties that may help. First, select the data point, then go to the SmartLabels node in the property grid.
    Expand the "NoMoveDirections" node. This will give you set of directions that you can use to restrict the directions that the labels can move in. You can try to change directions to see if it helps.
    You can remove the CallOutLine by setting the CallOutStyle to None and the CallOutLineAnchor to None.  You can also change their widths or their styles to see if that helps.
    If the issue is still existed, we can try to set the horizontal 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.
    Another possibility is to use Tooltip instead of actually displaying. Type a same expression with Value field in the Tooltip property.
    Hope this helps.
    Thanks, 
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • OAS 4.0.8.1 on NT - Orb not starting

    I am working with a fresh install on Windows NT with Service Pack 5. I installed, removed, reinstalled OAS 4.0.8.1. It will not work. Here is the listing: Please wait while the command is being processed on host rkakopw006 ... Starting ORB process...

  • Can't boot from windows 7 usb installation media

    When trying to boot from windows 7 usb installation media no efi boot option availiable. Using "boot from efi file" option whith each and every .efi file on installation media results in a message saying "The selected boot device failed. Press <Enter

  • Please help me regarding error in jcManager 1.1

    Hi Friends.. perhaps this question especially for bebecanu, but perhaps i hope all of you could help me too.. :) i tried to learn how way jcManager works, so i downloaded the jcManager1.1 source.. i created new application in Netbeans 6.9, and then i

  • ENHANCEMENT SPOT ERROR- INTERESTING !!!

    Dear All, I am Enhancing the standard PR05 Tcode inside an include MP56TF90(Which updates the cluster and creates the Trip number) in a subroutine FORM update_cluster. I have to insert some lines of code before the statement : DATA: p_return TYPE i.(

  • Help, i have a silly question i know ur gonna laugh

    hi i know this is a silly question but i have a ipod and i was wondering if there was software that could be downloaded so that u can watch videos if u dont have an ipod which has that facility thanks