Stacked Percentage Bar label and value

Hi,
I have created a stacked percentage bar using 4 series. I have 2 questions.
First question: Since it is a percentage bar, the height for all seriers are the same (100%), but each series has a value (eg. 463). Under series attribute, I checked on "show value", but when I run the page, the values for each series don't show up. Is there a way of showing these values?
Second question: If the labels are too long, they get cut and don't show the full text, is there a way to enlarge the space so all text for the labels fit in the graph?
Thanks a lot!

If the values on the bars are not displaying you probably have the "sparse matrix" problem. Stacked bar charts do not work correctly unless there is a row for every possible value of the "order by" variable in every series. You can test this by running the query for each series in sqlplus. You must get the same number of rows from each query.
The best way to fix this is to create a "stub" table that contains all of the distinct values of the "order by" column in your source table. Use this stub table as a pivot for a left outer join with the source table in your series query. Sometimes you need to nvl to handle nulls in the result. When every bar has a value in every series query then the values will be displayed on the bars.

Similar Messages

  • Problem with Stacked Percentage Bar

    Hello,
    We are having a lot of trouble with the Stacked Percentage Bar chart. Our chart has 2 series, one for Yes values, and one for No values. The query for each series is a PL/SQL returning a SQL query. Right now, nothing shows up on the graph. It is just an empty area. Here are the queries for the 2 series:
    YES SERIES:
    DECLARE
    tmpSQL varchar2(2000);
    BEGIN
    -- CONSTRUCT SQL STATEMENT
    tmpSQL :=
    'select null link,
    FIELD1 label,
    COUNT(' || :P23_ITEM1 || ') value
    from
    TABLE1, TABLE2
    where
    TABLE1.ID = TABLE2.ID
    AND
    (' || :P23_ITEM1 || ' = 1 ) group by '
    || :P23_ITEM1 || ', FIELD1 ';
    return tmpSQL;
    end;
    NO SERIES
    DECLARE
    tmpSQL varchar2(2000);
    BEGIN
    -- CONSTRUCT SQL STATEMENT
    tmpSQL :=
    'select null link,
    FIELD1 label,
    COUNT(' || :P23_ITEM1 || ') value
    from
    TABLE1, TABLE2
    where
    TABLE1.ID = TABLE2.ID
    AND
    (' || :P23_ITEM1 || ' = 2 ) group by '
    || :P23_ITEM1 || ', FIELD1 ';
    return tmpSQL;
    end;
    We'd appreciate any help.
    Thanks,
    Nora

    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

  • How do i have subsequent fields label and values move down the page dynamic

    how do i have subsequent fields label and values move down the page dynamicly...
    the field in question "can grow" and can become quite big...overlaping the content of the fileds below...how can i make the fields below this large field move dyanmically so there is no overlap?

    if it is the same field and it is set to can grow you just need to make sure you put space between by inserting a section below

  • Prompt - label and value

    is it possible to have a prompt having label and value
    for example,
    there are 3 choices in the prompt
    the displays (choice name) are Hundred, Thousand, Million
    the choices' values are 100 ,1000 ,1000000
    then we can set a presentation variable on the value (not the name)
    thanks

    OK. There are two parts...
    STEP ONE: Build the prompt
    1) Use any CHAR column from your dimension. In the fx, enter CASE WHEN 1=0 THEN tablename.columnname ELSE 'test' END.
    2) In the "Show" window enter CASE WHEN 1=0 THEN tablename.columnname ELSE 'HUNDRED' END UNION CASE WHEN 1=0 THEN tablename.columnname ELSE 'THOUSAND' END UNION WHEN 1=0 THEN tablename.columnname ELSE 'MILLION' END
    3) Set this prompt to a PV called pvTENS or whatever you want.
    STEP TWO: Configure your report
    1) Move another instance of the the column that contains the values 100, 1000, and 1000000 to your workspace and create a BINS. You can hide this column.
    2) In the filter, when the value is 100, call it HUNDRED, when it is 1000, call it THOUSAND and when it is 1000000, call it MILLION.
    3) Now do a filter on this column. Convert the filter to SQL and set the column equal to the PV.
    There you go.
    Mark as correct and close out this thread. Thanks.
    P.S. I see that now some threads are marked answered. Good. What I didn't notice is that you didn't indicate whether anyone helped you find that answer or even provided the answer for you. Don't just mark the thread answered; if it is answered, let us know what helped you and how you solved your problem. This way others may benefit as well. And show your appreciation by awarding points to those that helped you. You can do this by clicking in the upper right of the post that helped or was "correct." It is part of the ettiquette of using this forum. Later on as you become more proficient, come back here periodically and see if you can GIVE some advice to someone whom you can help.
    Edited by: David_T on Jul 27, 2009 10:48 AM

  • Translation - Reduce spacing between label and value

    Hi all,
    I have translated the text in multi languages. I am not able to adjust the gap between Text and input field.
    For example:
    Now displaying :
    1. Lang   'EN' ->  Customer : SAP         
    2. Lang   'FR'  ->  Client:        SAP 
    3. Lang   'DE' ->   kunde        SAP
    I need to  display as:
    1. Lang   'EN' ->  Customer : SAP         
    2. Lang   'FR'  ->  Client: SAP 
    3. Lang   'DE' ->   kunde: SAP
    Concatenate could not be done as i have to display field label in bold.
    So I want to reduce the gap between Field label and its content. Above example for english the gap is less but for other langauges gap or spacing is more. How to reduce the spacing?

    Hi Harryibm ,
    If you are simply outputting this information from data bound to the form the you may be able to use a floating field instead of a field and caption. You can just use a text element and then go to Insert->Floating Field while editing the text. You can then bind the floating field to the data connection as usual and the length of the text will vary depending on the content at runtime.
    Let me know if this helps.
    Ben.

  • Crys Reports - Mark the Legend Labels and Chart bar - values custom names

    Hai,
    I want to change the default names/labels of the chart elements (for e.g. bar chart - the labels and values) , in my reports the labels are directly taken from the database columns, how can I change this?,
    Someone please help...
    Thank you in advance.
    Vijay.

    Hi
    You can select the individual elements(for e.g chart title,legend,chart frame,grid lines,individual bars and series risers etc.).
    To do this do a normal left click and then again a left click on the desired object within the chart(which will select the object), and then do a right click which will come up with all possible options.
    Say for e.g you wan't to edit a default data label then follow the steps:
    1. Left click on the chart
    2.Left click on the data label.
    3.Right click>>Chart Options>>Titles
    4.Here you can edit the default title
    Thanks

  • Format % in chart label when Data Label Option is 'Show Series and % value'

    I am using:
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    I have a report that returns 2 columns 'Repair Status' and 'Count' The graph is a pie chart and I have selected the Data Label Option as 'Series Label and % value'. The percents displayed in the label have no consistent format. Sometimes 2 decimal places, sometimes 4 decimal places. I want the chart label to consistently display the % in the chart label with no decimal, i.e. 96%. How can I accomplish this?

    Hi,
    Where you selected 'Select Label and % Value', there is a button at the bottom, Format Data Labels. In there, there is a Number tab where you can play around by selecting Currency, Percent, etc. Have you tried this?
    Cheers.
    Mahesh

  • When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totaly invisible why So ?

    When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?

    Hi Ranendra,
    For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
    For path   File-->Templates(or Samples).
    Under Templates you ll have different categories and for each you ll find the dashboard Templates.
    Regards,
    Venkat P

  • Bar label  missinng in a stacked barchart

    Hi,
    I have a stacked barchart. I have bar labels with labelposition="inside".
    When the bar heights of consecutive bars are very small, bar labels of the bars in the inside of the outer bars are ignored or not displayed. Have any of you faced this problem, and if you have found a resolution, could you please share it with me. Looks like the label renderer just ignores the label if there is not enough space to draw it.
    I have also attached the problem I have mentioned here in the chart. You can see the datatip for the bar but the label for that bar is not drawn in the chart.
    Thanks Saroj.

    I've find a thread related to my problem Help need in Stacked bar vertical - No data found message
    It seems that to make a stacked bar working fine you need to build your queries with outer join a create a default 0 value with nvl. If you do so the chart display values correctly.

  • Urgent: Combination of stacked bar chart and line chart

    Hi,
    I have the following request: First I need series depending on the year (no problem) and two stacks for each series (first problem). Now I need two line, line 1 for total of stack 1 and line 2 for total of stack 2. Both lines should have a label showing the difference from one to next series in percent.
    Can something like this be done in BI Publisher. I got an excel sheet with such a chart, so it is possible there. Any templates, hints or tipps?
    I need this very urgent because it's the main report of my project. So if this is not working I can stop the project and have to find another reporting tool.
    Thanks
    chrissy
    Message was edited by:
    chrissy

    I've made again some tests by myself and recognized that there's something strange in the chart.
    When I create a stacked bar chart with values of DURATION, labels for TYPE_NAME and series of YEAR the first thing is, that it is not ordered. So how can this be done?
    The second error, is hard to explain ...
    Let's say I've the following values:
            Type1     Type2     Type3
    2005    1            2             3
    2006    4            5             6
    2007    7            8             9I would expect the following chart:
    2005     2006     2007
    1             4          7            Type1
    2             5          8            Type2
    3             6          9            Type3But the chart shows me the following:
    2005     2006     2007
    1             7          4            Type1
    5             2          8            Type2
    3             6          9            Type3You can see, the values are totally mixed, the code of the chart is the following:
    chart:
    <Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <MarkerText visible="true" markerTextPlace="MTP_CENTER" />
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW,  'YEAR'))}" rowCount="{count(xdoxslt:group(.//ROW,  'TYPE_NAME'))}">
    <RowLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <Label>
    <xsl:value-of select="current-group()/TYPE_NAME"/>
    </Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
    <Label>
    <xsl:value-of select="current-group()/YEAR"/>
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="YEAR">
    <Cell>
    <xsl:value-of select="sum(current-group()/DURATION)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>Otherwise I had made the following to have a stacked bar for duration and one for outage:
    chart:
    <Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW,  'YEAR')) * 2}" rowCount="{count(xdoxslt:group(.//ROW,  'TYPE_NAME'))}">
    <RowLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <Label>
    <xsl:value-of select="current-group()/TYPE_NAME"/>
    </Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
    <xsl:sort select="YEAR"/>
    <Label>
    <xsl:value-of select="current-group()/YEAR"/>
    </Label>
    <Label />
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="YEAR">
    <Cell>
    <xsl:value-of select="sum(current-group()/DURATION)"/>
    </Cell>
    <Cell>
    <xsl:value-of select="sum(current-group()/OUTAGE)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>The only thing I miss is a label for each stack, what is shown (so duration or outage) and of course the line.
    Thanks for any help
    chrissy

  • Apex 3.2 SVG Chart - How to plot Stacked Bar With Negative Values ?

    Currently Apex 3.2 Flash Chart (AnyChart 3.x) does not support Stacked bars with negative values.
    I try with SVG Stacked bars with positive values only, chart ploting works fine. When I add a new series with negative values (i.e -1) and I get a blank Chart region with no error.
    Based on this statement from Apex's documentation:
    *"AxisLine Indicates zero on charts that have negative values."*
    I appreciate your help on how to translate this statement into action ?
    (i.e how to override .Axisline class in CSS section ?)
    Thank you very much for your time.

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

  • Percentage Stacked Vertical Bar Chart

    `Hi everybody,
    i have a new question for you.
    i am just working on a stacked vertical bar chart.
    initial position: the chart is grouped by the column continet and there is one measure revenue and a column state (Vary Color By(Horizontal Axis)).
    My question is: Is there a possibility to let the chart shown in percentage, without formating the column formula of the measure in any kind?
    So, one bar part visualizes the revenue for one spezific state.
    In my case the bar part should be displayed in percentaged height of the whole revenue of the continent.
    Does anyone of you have an idea?
    Thanks,
    Alex

    Plaese Guys,
    i need your help.
    Thanks

  • Stacked Bar chart and Line graphs

    I have a report in Crystal which has stacked bar chart and a line graph together in one report.
    Is it possible to do the same thing in WebI . Can anybody share the experience.

    Today you can only have a simple bar (not stacked) and line chart in Web Intelligence.  We are looking to improve charts in the future.  In the meantime you can look into the masher from the labs...

  • How to combine a stacked bar chart and a line graph together in one report

    I have a report in excel that has stacked bar chart and a line graph together in one report. I am trying to recreate the same in Webi, Is this possible? Did any one have similar requirement, could you please share the thoughts?
    Thanks,
    Hema

    May be I don't understand correctly...
    But if its really to separate chart area's;
    just copy the datablock and format one as line and the other as barchart...
    Hope this helps,
    Marianne

Maybe you are looking for

  • Keeps asking for password (automatic downloads)

    Hi! On (nearly) every start iTunes asks for my password (for automatic downloads). Why doesn't it store it? Cu, Bjoern

  • Hibernate - limit and offset in select query

    Hi All is there any way to use limit and offset features of mysql in hibernate queries? For exmple I have 100 rows in my results. I want to display the results page by page. How can I select rows starting from a particular index (for example from 10

  • Need to default payment terms with 'A000'  in VA02 transaction.

    Hi gurus, In my requirement i need to default payment terms (VBKD-ZTERM) with 'A000' when the order types(VBAK-AUART) are 'ZBRE' and 'ZBC2' in VA02 transaction . I found the user exit which is getting trigerred - ' exit_sapmv45a_004'. But in that exi

  • HT2731 How to change payment method on account

    How can I change payment method on my account

  • Error writing itunes to file

    I am trying to install the latest version of itunes and in the middle of the installation I get an error message that reads: Error writing to File: C:Program Files\itunes\Mozilla Plugins\npitunes.dll. Verify that you have access to this directory. I