Pie chart legend should display values and percents

Hi All,
Can any body suggest me how to display values and percent in pie chart legend.Thanks in advance.
Edited by: 997414 on Apr 1, 2013 11:25 PM

Hi,
I used this tag : <SliceLabel textType="LD_TEXT_PERCENT"/>
My full graph;
chart:
<Graph depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_AUTO_GRADIENT" graphType="PIE"><LegendArea visible="false" automaticPlacement="AP_NEVER" position="LAP_BOTTOM" /><LocalGridData colCount="1" rowCount="{count(.//DSYATIRIMDAGILIMANA_ROW)}"><RowLabels><xsl:for-each select=".//DSYATIRIMDAGILIMANA_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="RAPORAD" /></Label></xsl:for-each></RowLabels><DataValues><xsl:for-each select=".//DSYATIRIMDAGILIMANA_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><RowData><Cell><xsl:value-of select="ORAN" /></Cell></RowData></xsl:for-each></DataValues></LocalGridData>
<SliceLabel textType="LD_TEXT_PERCENT"/>
</Graph>
I hope, It helps you since I figure it out in very very hard way.
This is the main reference : http://www.oracle.com/technetwork/middleware/reports/graph-dtd-technote-2-094743.html

Similar Messages

  • Pie Chart Legend not displaying full names

    Hi All,
    In a RTF template, we have displayed a PIE chart. In the PIE chart, when the number of legends are more, the legends are getting truncated on the generated PDF report. The document which describes the issue with screen shots is placed at [http://www-apps.us.oracle.com/~sgnanama/Pie%20Chart%20Legends%20Display%20Issue.doc] . And following is the snippet of code placed at ALT text of PIE chart picture present in the template. Is there any way to enlarge the legends display section to show the full text of the legends? Please share your thoughts. Thanks.
    chart:
    <Graph graphType="PIE" depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_NONE">
    <LegendArea borderColor="#cccccc" borderTransparent="false"/>
    <LegendText wordWrapEnabled ="true"/>
    <SeriesItems defaultBorderColor="#cccccc">
    <Series id="0" color="#336699"/>
    <Series id="1" color="#99ccff"/>
    <Series id="2" color="#999933"/>
    <Series id="3" color="#666699"/>
    <Series id="4" color="#cc9933"/>
    <Series id="5" color="#6666"/>
    <Series id="6" color="#3399ff"/>
    </SeriesItems>
    <Title text="" visible="true"/>
    <Footnote text="Company Contribution" visible="true" horizontalAlignment="CENTER"/>
    <O1Title text="Company Contribution" visible="true"/>
    <LocalGridData rowCount="{count(CATEGORY/ERC)}" colCount="1">
    <RowLabels>
    <xsl:for-each select="CATEGORY">
    <xsl:if test="string(ERC)">
    <Label>
    <xsl:value-of select="CATEGORY_NAME"/>
    </Label>
    </xsl:if>
    </xsl:for-each>
    </RowLabels>
    <DataValues>
    <xsl:for-each select="CATEGORY">
    <xsl:if test="string(ERC)">
    <RowData>
    <Cell>
    <xsl:value-of select="ERC"/>
    </Cell>
    </RowData>
    </xsl:if>
    </xsl:for-each>
    </DataValues>
    </LocalGridData>
    </Graph>

    as far as i know only way to display legname in full when u have more values is to make the size of the chart large . i have one the req like that i made it large enough so that it will withstand if i get more values .
    it may not be good idea but this is the way i did .

  • CRVS2010 Beta 2 Pie chart legend displaying "_e_Total:1_n_pseudoloc_"

    Instead of displaying "Total" at the bottom of my pie chart legend I am getting the following text: "_e_Total:1_n_pseudoloc_"
    The values and percentages calculate correctly, but the label is unusual.

    Hello,
    I have the same problem with my pie chart. My report was fine before I did my update to CRVS2010 Beta 2. I was using crystal report 11.5.
    My report is really simple. I have a resume chart that you can drilldown. Each drilldown show the same chart for the selected
    item.
    I'm using Windows 7 Professionnel 64 bit in french (canada version).
    Visual Studio Version 10.0.30319.1
    Framework 4.0.30319

  • Pie chart legend showing digit "1" when we set "ignore blank cells"property

    All,
    We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
    we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
    Thanks,
    Sourabh

    hi Sourabh,
    I could replicate your scenario.
    Workaround is to create a duplicate of this chart. Go to properties of this new chart.
    Go to Appearance ->
    Uncheck
    - Legend
    - Mouse-over values
    - Data Labels
    for this chart.
    Write a logic in excel using 'IF' to verify if your data is empty.
    Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
    Display your original chart if your data is not empty.
    Regards,
    Vamsee

  • Pie Chart Legend Question

    Running CR XI R2
    I have a pie chart that is displaying both Percentages and values in the legend. Is there any way to remove the $ from the value in the Legend as the Value is not currency but a count.
    Thanks
    Joe

    I tried that and it didn't work. I've actually played around with it more and got them to go away
    I don't have data elements (labels) on the pie chart slices, and I'm sorry i forgot to mention that. I put the labels on, changed their formatting and took them off again and it affected the legend in the way I was hoping for.
    Thanks for the response

  • Pie Chart legend text when drill down too larger

    Dear Gurus,
    I have this report with Pie chart:
    *)Table:
    Element Group
    Earnings 100
    Deductions 30
    When drill down (after click on Earnings/Deductions), it become detail like this:
    Element Group Classification Name
    Earning Regular
    Earning Irregular
    And the Pie chart legend show this: Earnings, Regular Earnings
    ->how to remove Earnings?I just want to show classification name as legend.
    I use OBIEE 11.1.1.3
    Any help will be appreciated
    Regards
    Joe
    Edited by: JoeSSI on Aug 10, 2012 12:33 AM
    Edited by: JoeSSI on Aug 10, 2012 12:35 AM
    Edited by: JoeSSI on Aug 10, 2012 3:24 AM

    Hi Joe,
    There was a bug associated with repeated legends in 11.1.1.3 version.Can you check the below document and see if the mentioned patch helps,
    Vertical Bar Charts In OBIEE 11g Display Repeated Labels In The Graph Legend [ID 1376185.1]
    Regards,
    Dpka

  • Pie Chart doesn't display all columns

    I set up a simply table and made a bar chart = everything worked out well.
    I selected my table again and clicked on 'make pie chart' but this time it doesn't display all the colums. I really don't know what went wrong here.
    I'd appreciate it very much if some could help me out here.
    Preview Picture: http://cl.ly/1SKg
    Numbers File: http://cl.ly/1SAh

    patte,
    Even though you have selected the entire table to be charted as a Pie Chart, and the table includes three data series, a Pie Chart can only display one series at a time, so it displays the first one; "3. Klasse"
    In "3. Klasse", the values of Schaukel and Drehscheibe are zero, so there is no pie to display.
    Hope this explains the situation for you. To make Pie Charts for the other two series, you would again select the header cells, then hold down the Command key while selecting the other series. Then add another chart. Do this for each series you wish to chart.
    Regards,
    Jerry

  • Xcelsius - Embedded 'Jpg' logo not visible, Pie chart Legends not visible

    Hi,
       I am new to xcelsius. could you please help.
       I have two issues.
      1. I incorporated Logo (JPG FILE) and selected options Embed file, resize image to component, but image is not visible when I preview. Why? What needs to be done to make logo visible in preview(swf file). I did not export yet to Infoview though.
    2. Legend values are cropped. I have 35 legends that are to be listed for pie chart. I can see only 31 and remaining four not visible (two from beginning, 2 at the end). I reduced font to lowest visible value i.e.  8 and increased height max possible that looks good . How to make them visible? or make them to fit to chart. Is there any option? Legend values are towards right of chart.
    Please help.
    BR, Nanda Kishore

    Hi,
       Are you using Image Component to insert your JPEG, if not try that. It will work as expected.
       As for your pie chart legends, it will work as long as your Pie Chart is large enough to fit all regions onto the screen.
       Try a simple test just to prove that concept.
          - Create 2 columns in Excel
          - Make Column A your Region Column. Insert up to 35 records
          - Make Column B you Data column. Also insert up to 35 records.
          - Now map your data into the Pie Chart and make sure you reduce the fonts of the region to "8" (Smallest it can go)
          - Preview it.
    Ken

  • How to create a display value and a return value for an item

    Hi! I have an item on a form. I want the default value for my item to be :":APP_USER", but the return value, to be the id of my user. I tried to create a PL/SQL Expression for the default item, but it doesn't work. What do I miss?
    It should be something like this, but it's not.
    begin
    select first_name || ',' ||last_name as "Employee",
    id_employee -- display value,return value
    from employees
    where id_employee = :APP_USER;
    end;
    Does anyone know?
    Thanks!
    Vitaly

    Hi VItaly,
    Display value and return value concept applies very well in case of a Combo box if i am correct, I don't know what type of item is your's.
    But any way, you can have a workaround like,
    Create a hidden item such that it's default value should be ID of the user which can be get from db by using :APP_USER.
    Use the this item for your references.
    I think this will meet your requirement.
    Thanks
    Kumaraswamy.

  • Pie Chart legend label icon

    Hi, is it possible to change the label icons of a Pie Chart legend? I have a pie chart with genre distribution % and would like to set the male and female genre icons instead of the color. 
    Thank you

    Hello Pedro,
    in general you can' t change the label icons in SSRS - I assume you mean with "label icons" the small colored rectangles indicating each of the sections in a pie chart. But I have a workaround for you: Simply not to use the build-in labeling mechanism
    of the chart, but to create an individual textbox with the needed symbols for your purposes. In that textbox you have to set an expression for showing the needed male or female symbols as Unicode-chars. There's a text function for that, I mean something like
    "=ChrW(&XXX)" is the appropriate expression. XXX has to be the character string of the Unicode-chartset, if you want e.g. the male symbol as an icon. Unfortunately, I can't post links, but it's quite easy to find via Bing or Google the needed
    chars or signs in the Unicode-Table (use e.g. "Unicode table" as search string and you find a great site for retrievaling chars and symbols in the Unicode-Table).
    Generally spoken, I wouldn't use pie charts at all, normally bar charts are the better choice in visualizing data - with bar charts it's easier to recognize skales than in a pie chart and you can often label bars in a direct way, so you don't need an extra
    legend.
    I hope I could help you, but feel free to ask me, if yo have further questions
    Robert 

  • Xcelsius Present - Pie Chart Does Not Display

    I am evaluating a trial copy of Xcelsius Present and I am having trouble with creating a Pie Chart. I have imported my spreadsheet and have made my data selection, but the pie chart does not display. I have used Crystal Reports in the past and have never run across the problem.  I have tried to create and import a new spreadsheet with the data needed for the pie chart, but I have the same problem with the chart not loading. This problem does not occur with other charts that I am creating.
    Can anyone make a recommendation on what to do?
    Thanks.
    Anita

    I'm having the same problem with the Xcelsius Present 2008 evaluation copy (5.3.0.0).
    No matter how pie chart data is formatted, there is nothing displaying.
    I'd like to know whether this is a known bug or whether this is only in the eval copy. This would prevent me from buying the product.

  • Display value and description of one field in alv grid

    Hi Folks,
       I want to display value and description of one field as one column in alv grid.
    for example iam having Xfield = 01,02,03.
    and 01 iam having text value as xxx,
    01 xxx
    02 yyy
    03 zzz
    Im report display the values are displaying as 01,02,03..
    but i want to display it as 01 xxx,02 yyy, 03 zzz.
    Please do needful.
    Thx.

    Hi, swetha
    You can do this with "concatenate".
    example:
    In you code check where you final internal table is getting filled up before that do this concatenate and then append it.
    data t_text type string.
    t_text = textfield
    CONCATENATE 'Xfield'
                     t_text
                      INTO wa_workarea SEPARATED BY space.
    cheers,
    Bhavana

  • How to display values and new char line (blank line)

    Hi,
    In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
    In Crystal Reports the field is displaying only values. Need to display values and blank line.
    User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
    In detail explanation, front end tool is ASP.NET and backend is SQL Server.
    User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
    If user opens the application, they could see values plus blank lines in the note field.
    They are fine with the application.
    In Crystal Reports, the note field shows only values.
    User is questioning that why we could not see in report we enter.
    I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
    Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
    Thanks and Regards,
    Manjunath N. Jogin

    Hi,
    Sharonmat,
    I tried as you suggested. It is still displaying only values.
    I would like to explain again.
    it is not exactly null values.
    In .Net application it is called 'new char line'.
    it shows those many lines look like null.
    it is working fine in database.
    Why it is not working in Crystal Reports? I am wondering...
    Thanks for your suggestion.
    Debi,
    User may enter any number of blank lines or they may not enter blank lines.
    That is the reason I can not always give more height or blank text object.
    Thanks for your suggestion.
    Please suggest me some more suggestions,
    Thanks and Regards,
    Manjunath N. Jogin

  • Pie Chart Legend - colors and sorting value

    <p>Hi,</p><p>I have a pie chart with around 20 &#39;segments&#39; representing names of people - so it looks like several of them have the same color.</p><p>So my first question is do the standard 12 colors repeat after 12 segments have been &#39;defined&#39; - can this be extended with custom colors?.  I know you can set colors for specific values but as the list is dynamic, I can&#39;t do that. </p><p>I also have a legend defined which shows the person&#39;s name and then the value - either a percentage or a count etc.    From top to bottom, the legend lists the entries alphabetically by the person&#39;s name - however, it&#39;s not always easy to tell which name is associated with which &#39;segment&#39; and using labels is not an option as they are too long and there are too many of them to be readable<br /></p><p>So what I would like to do is have the legend displayed in numerical size order - e.g. person with largest % is at the top, smallest % is at the bottom etc.</p><p>I&#39;ve been looking at the Chart Expert, CR Help and the forums but have not seen an answer to either question - I&#39;m hoping someone can tell me if it&#39;s possible or not (and if so, how do I do it!).</p><p>Thanks <br /></p>

    Hi,
    If you go to the Chart Expert, on the data tab, you can choose the Top N option. From within there you can get your legend sorted based on the highest or lowest percentage. You can also group information so that you only see the top 5 or lowest 10 or whatever you want.
    Also when I create a pie graph based on 20 plus pieces of data it isn't resusing the colors, but they are somewhat similar. I usually do a group of the top 10 or so, then have an others category for situations like this.Â
    Rody

  • Pie chart legend total does not calculate correctly

    Hi All
    I have a pie chart in a CR 2008 report (SP0). 
    The pie has one "On Change Of" and one "Show Value" field.
    The datasource for the report is an Oracle 10g (Rel 2) Stored Procedure (SP).
    The SP signs the value per each transaction (record), so if the txn is a reversal is will arrive in the report as a negative value
    The records that are listed in the report have the correct sign on each line, and totals in the report are correct
    So, if the first record has a value of 10,000 - these would be known as Cash txns
    and the second record has a value of -5,000 - these would be known as Cash Reversal txns
    The report total will be 5,000
    In the legend entry of the pie chart the values per series are being displayed correctly.  There is a series per Txn type (so one series represents Cash txns, the second series represents Cash Reversal txns)
    From the example above my pie shows 1 txn for Cash @ 10,000
    and 1 txn for Cash Reversal @ -5000 (it has the negaitve amount in brackets)
    But the total in the legend is 15,000
    I cannot figure out why that the legend total is not calculating correclty.
    Has anyone seen this behaviour before?
    Any help would be great thanks
    Best regards
    Patrick

    Just realised why....  The total is counting all txns, and my formula is not telling it that Reversal should be subtracted - duuhhhh!!!!

Maybe you are looking for

  • Error in adding KE30-PA report created to new user.

    Please help me with my problem. I have created a report for KE30-profitability analysis report which I will add to a new user name in sap. I have created the role which is zabc then I added the profitability analysis report which I created. A YXxxxxx

  • MODULE USER_COMMAND_0200 AT EXIT-COMMAND.

    Hi Experts, I knew that the following statements allows user to by pass all the screen validations, so to achieve this we have to declare a function code in SET PF-STATUS of type Exit Command. So, my doubts r, 1- Anyway, we r adding the AT EXIT-COMMA

  • Open dialog crashing in Photoshop Elements 11 (Mac OS X Mountain Lion)

    I downloaded the trial for Photoshop Elements 11 for Mac. I'm using Mac OS X Mountain Lion (10.8.4). In the File > Open dialog, if I touch either of the two pop-up menus at the bottom of the dialog, Photoshop Elements crashes. This is 100% consistent

  • Web analysis and attributes No.2

    Hi, When doing report in web analysis as admin for my users I select my attribute dimension instead of entity (i think that when it is assigned to entity it shall has the same function as entity being chosen, right?). The numbers, percentages fits pe

  • CR2 / RAW images no longer displayed

    For some reason, I can no longer view CR2 / RAW images (from a Canon EOS 350D). I've never had any issues with them before. Any ideas what can have caused this?