Stacked bar chart problems

I am trying to create a stacked horizontal bar chart.
Series 1: select null link, END_DATE_20 label, BPEL_HEADER_ID "20%"
from "DART"."HT_BPE_SCHEDULE"
Series 2: select null link, END_DATE_100 label, BPEL_HEADER_ID "100%"
from "DART"."HT_BPE_SCHEDULE"
On the Y axis title I'd like it to show the bpel_header_id, these are just numbers and an identifier, not a value to be measured
On the X aix title I'd like to show the dates that progressively go out (end_date_20 and end_date_100)
So currently on the X axis i have the correct title but the values showing are actually the values of the ID which shouldn't be shown as a measureable value, just an ID
And the Y axis has the correct Title but the values going up are dates
And the stacking isn't done by ID, but done by date...so if there are several items ending on the same date, those items are stacked together
I want to show the difference between a 20% end date and a 100% end date by ID.
Please help!

I also tried this scenario and am way off base:
select end_date_20, END_DATE_100, BPEL_HEADER_ID label, BPEL_HEADER_ID value
from "DART"."HT_BPE_SCHEDULE"
order by bpel_header_id
i would like to be able to choose a different 'value' but with the qury builder it only allows the bpel_header_id...if the column I want to use as the "value' is a date field is that what is causing this issue?

Similar Messages

  • Normal/stacked bar chart problem

    hi,
    i have created a bar chart which has 2 bars for each customer. (the customer is on the x-axis). how i did this, is i created two formulas and placed them in the 'show value(s)' box in the chart expert.
    however, what i want to do is to have one bar for each customer subdivide. If i change the type of chart to 'stacked bar chart' each customer has one bar and that bar is subdivided. But I want each customer to have 2 bar (which i have at present) and want one of those two bars to be subdivided.
    How would i go about doing this? (if it can even be done(?) )
    thanks
    J

    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

  • Stacked 100% bar chart - Problem with datatips for zero value data points

    I have a stacked 100% bar chart that shows datatips in Flex 4.   However, I don't want it to show datatips for
    data points with zero values.   Flex 4 shows the datatip for a zero value data point on the left side of a bar if the data point is not the first in the series.
    Here's the code that illustrates this problem.    Of particular concern is the July bar.    Because of the zero value data point problem, it's not possible to see the datatip for "aaa".
    Any ideas on how we can hide/remove the datatips for zero value data points ?        Thanks.
    <?xml version="1.0"?>
    <s:Application
    xmlns:fx="
    http://ns.adobe.com/mxml/2009"xmlns:mx="
    library://ns.adobe.com/flex/mx"xmlns:s="
    library://ns.adobe.com/flex/spark"creationComplete="initApp()"
    height="
    1050" width="600">
    <s:layout>
    <s:VerticalLayout/>
    </s:layout>
    <fx:Script><![CDATA[ 
    import mx.collections.ArrayCollection;[
    Bindable] 
    private var yearlyData:ArrayCollection = new ArrayCollection([{month:
    "Aug", a:1, b:10, c:1, d:10, e:0},{month:
    "July", a:1, b:10, c:10, d:10, e:0},{month:
    "June", a:10, b:10, c:10, d:10, e:0},{month:
    "May", a:10, b:10, c:10, d:0, e:10},{month:
    "April", a:10, b:10, c:0, d:10, e:10},{month:
    "March", a:10, b:0, c:10, d:10, e:10},{month:
    "February", a:0, b:10, c:10, d:10, e:10},{month:
    "January", a:10, b:10, c:10, d:10, e:10}]);
    private function initApp():void {}
    ]]>
    </fx:Script>
    <s:Panel title="Stacked Bar Chart - Problems with DataTips for Zero Value Items" id="panel1">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <mx:BarChart id="myChart" type="stacked"dataProvider="
    {yearlyData}" showDataTips="true">
    <mx:verticalAxis>
     <mx:CategoryAxis categoryField="month"/>
     </mx:verticalAxis>
     <mx:series>
     <mx:BarSeries
    xField="a"displayName="
    aaa"/>
     <mx:BarSeries
    xField="b"displayName="
    bbb"/>
     <mx:BarSeries
    xField="c"displayName="
    ccc"/>
     <mx:BarSeries
    xField="d"displayName="
    ddd"/>
     <mx:BarSeries
    xField="e"displayName="
    eee"/>
     </mx:series>
     </mx:BarChart>
     <mx:Legend dataProvider="{myChart}"/>
     </s:Panel>
     <s:RichText width="700">
     <s:br></s:br>
     <s:p fontWeight="bold">The problem:</s:p>
     <s:p>Datatips for zero value data points appear on left side of bar (if data point is not the first point in series).</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">For example:</s:p>
     <s:p>1) For "June", eee = 0, mouse over the left side of the bar to see a datatip for "eee". Not good.</s:p>
     <s:br></s:br>
     <s:p>2) For "July", eee = 0 and aaa = 1, can't see the datatip for "aaa", instead "eee" shows. Real bad.</s:p>
     <s:br></s:br>
     <s:p>3) For "Feb", aaa = 0, datatip for "aaa" (first point) does not show. This is good.</s:p>
     <s:br></s:br>
     <s:p>4) For "Mar", bbb = 0, datatip for "bbb" shows on the left side of the bar. Not good.</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">Challenge:</s:p>
     <s:p>How can we hide/remove datatips for zero value data points?</s:p>
     <s:br></s:br>
     </s:RichText></s:Application>

    FYI.
    Still have the issue after upgrading to the latest Flex Builder 4.0.1 with SDK 4.1.0 build 16076.   
    Posted this as a bug in the Adobe Flex Bug and Issue Management system.     JIRA
    http://bugs.adobe.com/jira/browse/FLEXDMV-2478
    Which is a clone of a similar issue with Flex 3 ...
    http://bugs.adobe.com/jira/browse/FLEXDMV-1984

  • 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

  • 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

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

  • 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

  • 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

  • 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

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi,
    Apex version 4.1.1
    I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
    When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart  noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
    Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
    Incidentally, I can solve the sorting problem by combining all three series into a single query:
    select
      null as link,
      week_of as label,
      sum(customer_effort) as "Customer Effort",
      sum(project_effort) as "Project Effort",
      sum(other_effort) as "Training, Admin and Other Effort"
    from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples  posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
    Thanks,
    Mike

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Stacked Bar Chart Order

    I am doing a stacked bar chart and I needt to control the vertical order of the bars. It seems to be always sorting alphabetically by my descriptions. My descriptions are 'No Mastery','Pre-mastery' and 'Mastery'.
    I want:
    Mastery
    Pre-Mastery
    No Mastery
    It always shows as:
    No Mastery
    Mastery
    Pre-Mastery
    How can you control this?

    Thanks Srinivas,
    Thank you for your reply! that solution indeed changes the alphabetical sort, the problem is that the order is now fixed (i.e. "Mastery" is always number 1)
    I need them ordered by a particular column (for example total sales) I guess I can use ranks instead of fixed numbers (i.e. concatenating the calculated sales rank instead of always using "1" for "Mastery").

  • Stacked Bar Chart Question

    Hi, I am creating a stacked bar chart, and I am encountering 3 issues I hope you can help me with:
    1)  The chart has positive and negative values.  I have zero based centerline checked, but I do not see 0 on the Y axis.
    2)  The applet width is 900 pixels.  The chart can have a variable number of bars.  When it has a small number of bars, they fill the entire chart.  Is there a way to set the width to a fixed amount?
    3)  Is there a way to set a logical interval amount?  Currently the numbering is not intuitive.
    Thanks
    p.s.  We are using 11.5.3
    Edited by: Richard Keegan on Jun 13, 2008 5:18 PM

    Depending upon your query structure, you can force a zero based centerline by setting the Y-axis ranges dynamically.  I am not working in 11.5.3 currently, but ran into a problem with line charts in 12.0.2.  The zero centerline flag did not work, so I dynamically generated the ranges and linked them in.
    You can probably do the same with a little extra BLS coding.
    Mike

Maybe you are looking for