Pie chart slice color

Hi otn ,
using JDev 11g 11.1
i have status table
SELECT DocStatus.ID,
DocStatus.DESCRIPTION
from DocStatus
and 6 status inside (inprogress , not finish yet , finished , last date ,finished after due date , x)
and i have a view object to represnt a table to dispaly docs report
also a view object to dispaly pie chart
SELECT
COUNT(DOC_TRANSACTION.TRANSACTION_STATUS) TRANSACTION_STATUS,
DOC_STATUS.DESCRIPTION DESCRIPTION
FROM
DOC_TRANSACTION,
DOC_STATUS
WHERE
DOC_TRANSACTION.TRANSACTION_STATUS = DOC_STATUS.ID
the requirment is to display pie chart with this color for status (not regular) ( inprogress --> yellow , not finished yet --> red,finished-->green,last date-->white,finished after due date-->blue,x-->brown)
any one can help ?
Edited by: nour3eny on 21/11/2009 02:00 م

the following article shows the integration of jfreechart with oracle adf/jsf in a very simple and elaborate manner. I found this one very useful.
http://oracle-latest-technology.blogspot.com/2010/02/creating-chart-in-oracle-adf-using.html

Similar Messages

  • Bind RGB color values to pie chart slices?

    Is there anyway IN CR XI R2 to data bind Red, Green, and Blue colors to the Color property of a pie chart slice?

    Something like this, JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="http://static.jsbin.…

  • 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 Slice Label Percentage + Label

    Hi,
    i'm newbie of Publisher 11. I've a problem. I've created a DataSet and a report containing a pie chart using wizard of Publisher as written at following link:
    http://allaboutobiee.blogspot.it/2012/04/working-with-bi-publisher-11g-part3.html
    My chart shows near each slice the percentage value, but it should show the percentage value + corresponding legend text. I've changed all chart properties on left side of window, but it doesn't work. I read that i must set the value LD_PERCENT_TEXT. But where????? How can i modify XML? I must export the report in OBIEE to have more functionalities? Can you explain me what to do step by step because it's the first time i use Publisher 11
    Thanks
    Giancarlo

    do paste this in the alt text of the chart ,
    Right click the picture , select format picture and go to alt text tab.
    paste this in between the graph element and not at the end or beginning.
    <SliceLabel visible="true">
    <ViewFormat decimalDigit="1" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
    </SliceLabel>

  • Pie chart: setting colors of series via DBF

    Hello,
    I am working with Crystal Reports XI on a report that's creating a pie chart from a DBF file.
    The DBF, the report obtains it's data from, can contain a variable number of data. Due to this, the number of series, the chart is made up of, cannot be predictet in advance.
    Now, my question is:
    Is it possible to make each of the chart's series retrieve it's own color from a cell in the DBF file?
    In advance, thanks for your help!
    Sascha.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Pie Chart slice breakup

    Hi Experts,
    I am having a requirement in OBIEE 11g of showing data as Percentage in a Pie Chart,the chart will be be having two slices(SLICE 1, SLICE 2).
    And the SLICE 1 breakdown needs to be displayed as STACKED BAR CHART.the bar chart should also show data as percentage.
    I am using a common measure for both the charts, in PIE CHART i have shown the measure count as Percentage,But in Staked bar chart i am not able to show the data in percentage.
    A SLICECODE column i am using for the SLICE 1 and SLICE 2 breakup in the PIE CHART, and in the BAR CHART i am showing only SLICE 1 data by placing the SLICECODE column in the Section, and set the "Maximum number of section slider values" as 1 in the section properties
    .Plz suggest me how to show the data as percentage in the bar chart
    Refer the link below for the image.
    http://img577.imageshack.us/img577/2631/waiver.jpg
    thanx in advance.

    The image given uploaded in the link in my below post is the required report output.

  • Pie Chart - Adding Colors

    I have created what should be a simple pie chart, with 8 pieces to the pie. I chose the following options for my chart: "Chart Colors, 3D Texture Fills, Fun." Unfortunately, only 6 colors are showing up. I have tried every way I can think of to add colors and have been able to physically change colors on the chart - but not with "Texture Fills."
    Any help out there for this?
    Thanks,
    rlbier

    True the Chart color option only offers 6 colors however you can set colors using the color palette.
    Open the color selector:
    +Menu > View Show Colors > select a color sample > drag onto a wedge+
    Repeat for all the wedges.
    You will have to redo all this if you change the chart type, so leave till last after you have sorted out the overall appearance.

  • AMX Pie Chart Slice Label

    I'm trying to customize the slice labels in my pie chart. It looks like the textType attribute of the dvtm:sliceLabel tag might provide me what I need, but there is little information. Where does the component get the "text" to display? The percentage is based on the pieDataItem's value attribute in relation to the whole as expected. I have the label and sliceId attributes also set for the pieDataItem component in the dataStamp facet but these are not showing up in the slice label as the text. Is there another component I need to add to the dataStamp facet that will be consumed by the sliceLabel text?

    do paste this in the alt text of the chart ,
    Right click the picture , select format picture and go to alt text tab.
    paste this in between the graph element and not at the end or beginning.
    <SliceLabel visible="true">
    <ViewFormat decimalDigit="1" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
    </SliceLabel>

  • Saving individual 3D pie chart slices

    I want to create an animated pie chart...with individual slices appearing one at a time.  I will do the actual annimation outside of Illustrator (likely in Flash or Motion).  The question is...after making a pie chart, can I save each slice as an individual graphic within Illustrator CS4?  Thanks in advance.

    Yes you can create an art board for each slice you can pull them apart with the direct select tool.
    You can the export them as individual files in a variety of ways.
    However this is the kind of thing you can do straight from Illustrator by releasing the art to a layers to a sequence and exporting as a swf and bring that into flash. You can also choose the option to save the Illustrator layers as flash symbols and simply import that file to the Flash Library.

  • Round Pie Chart Slice Labels

    I need to round the slice labels of my pie chart to 0 decimal places. I have looked and looked around on how to do this, and the only solution I have found does not work (using the ViewFormat element under the SliceLabel element). Here is the code for my chart. Typically, the labels end up with 2 decimal places, but some seem to randomly be rounded to 3 instead. What am I doing wrong? Any help would be greatly appreciated.
    chart:
    <Graph graphType="PIE">
    <SliceLabel textType="LD_PERCENT"/>
    <Title text="Total Compensation Package" visible="true" horizontalAlignment="CENTER">
    <GraphFont font = "Arial" size="12"/>
    </Title>
    <LegendArea position="LAP_BOTTOM"/>
    <SliceLabel visible="true">
    <ViewFormat decimalDigit="0" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
    </SliceLabel>
    <LocalGridData rowCount="2" colCount="2">
    <RowLabels>
    <Label>Annual Wages</Label>
    <Label>Benefits</Label>
    </RowLabels>
    <DataValues>
    <RowData>
    <Cell>
    <xsl:value-of select=".//CK_BENSTMT_ANNUAL"/>
    </Cell>
    </RowData>
    <RowData>
    <Cell>
    <xsl:value-of select=".//CK_BENSTMT_TOT5_ER"/>
    </Cell>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>

    That is exactly what I am using though, and it still doesn't work. Do I have to place the slice label element somewhere specific within the code for it to work correctly? I will try moving it around, but any other advice would be greatly appreciated.

  • Pie Chart Sector Color

    Hi,
    I am using below query to create a flash pie chart. It return count of "RED" , "GREEN" and "YELLOW" from the color field
    I used the custom color to color first value as "RED", second as "GREEN" , and third as "YELLOW"
    select  null link,
                color ,
                count( color ) value
    from table;Above is working fine if all RED , GREEN AND YELLOW ARE GREATER THAN ZERO.
    Now if there is no RED in the filed, then PI CHART contain only two region one for Green and second for Yellow.
    Problem :--
    If red is not there the value representing the count is green is show in red color.
    How to avoid this
    Thanks
    Shijesh

    Hi Andy,
    I tried the above method but its not working for me..
    here is the query which I am using..
    DECLARE
    vqry varchar(5000);
    begin
        vqry := 'select link , LABEL , sum(value) from
    (select null link, ''Red'' LABEL , user_id , COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
    from  SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=1 and
    SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id
    union
    select null link, ''Green'' LABEL , user_id ,COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
    from  SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=2 and
    SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id
    union
    select null link, ''Yellow'' LABEL , user_id , COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
    from  SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=3 and
    SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id )';
    if :P50_PROJECT_OWNER <> 0 OR :P50_PROJECT_OWNER <> NULL THEN
        vqry := vqry || ' where USER_ID = ' || :P50_PROJECT_OWNER;
    END IF;
    vqry := vqry || ' group by  LABEL ,link';
    return vqry;
    end;I'm using Function Returning SQL Query. Is this the reason why I'm not able to get the result

  • Cuic report - pie chart static color bug (CSCul65722)

    Hi,
    I would like to know the fix release plans for the bug CSCul65722. 
    Thanks & Regards,
    Guna.

    Hi Guna,
    please raise your question at the contact center:
    https://supportforums.cisco.com/community/5926/contact-center
    you are in the ServiceGrid Support forum, unfortunately we can't answer this question.
    If you like to learn more about ServiceGrid i'm happy to help you.
    best regards
    Patrick

  • How to assign specific colors to itemcolumn in pie chart?

    I'm trying to figure out the CF pie chart specific color
    assignment to specific distinct values, i.e. a specific color is
    assigned to a specific status value so we have consistency across
    diff charts; say value PASSED is always GREEN. Help? any idea?
    thanks

    Ashka, thanks for reply, unfortunately it didn't help. I do not have "shadow" option ticked anywhere. If I do tick the shadow, an additional shadow also appears, so this shadow is somehow built into the pie-chart by default. No matter what font of color I pick that shadow is there.
    Here is a screen-shot:
    http://www.piccdrop.com/images/1227030290.png
    Thanks for your help.

  • Is there any way to scroll pie chart labels

    is there a way to have a scroll bar for the pie chart key
    Many thanks

    Hi,
    I haven't found how to make legend scrollable but I can suggest to put list box with color alerts. The listbox will  show each series of pie chart and color alerts will indicate the color of each slice.
    So, simply instead of using pie which can't support scrolling in the legend put listbox which supports it.
    In addition, I believe you have already been asked for showing values on each slice of piechart. On this week, service pack 3 have been released. By using this service pack, you can start to show values on the charts.
    Pavel

  • 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

Maybe you are looking for

  • Pdf download in bi publsiher 10g

    Hi All, We are using OBIEE 10g. We are placing bi publisher reports on dashboard. When we click on the report link on dashboard, we need to get direct download option for the publisher report in pdf format instead of viewing it in pdf format, like we

  • Display popup messages

    hi, i am using adf11g,jdeveloper 11g.in form i drag and drop one vo. in that form,for one attribute which is used as LOV,i have written valuechangelistener method. in that method i wrote some code for validaiton.when validaiton occur i am able to sho

  • Can balance sheet be derived from a segment other than balancing segment

    Hi, In our Chart of account following segment are there: 1. Company Balancing Segment 2. Branch 3. Department Cost Centre 4. Line of Business 5. Account Natural Account Segment 6. Sub Account The requirement is to derive Balance Sheet and P&L Company

  • How do you put the lyrics of songs on your ipod?

    My brother has on his lyrics to songs on his ipod and I was wondering how you do that.

  • About barcode in report 6i

    Hi i read document of java bean barcode. but i work with report6i and in this document i read i must i had to use barcode font . i dont have this font i couldn't find any information about it. i appreciate you if u can help me. by regard Nahid Bastan