Customizing colour in Pie chart

Hi Experts,
In my scenario there is a Pie chart which shows the completion and pending of work in percentage. I have done this by creating a category and a series and the pie chart is getting displayed for completion and pending work in default colours. Now i want to customize these default colours, i need to display the completed status in Red and Pending status in green.
If this is possible please help me out in achieving this.
Thanks
Sarathy.

Hi Pandi,
For changing the chart type, size, layout, color, shading and also creating the title for you Bussiness graphics you have to go for Customizing . Right Click the Bussiness Graphi UI and Choose  Edit chstomizing .
and bind your customising id in the context .
Go through this..
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81?quicklink=index&overridelayout=true
Also check this..
Re: Color Of series in Pie chart
Cheers,
Kris.

Similar Messages

  • Creating custom reports with Pie Chart

    Hello,
    I've got a little problem while I'm creating custom reports with SQL Chart.
    For example, I want to have a Pie Chart that represent the distribution of the version for a software, i wrote my query with no problem, the result is in good format.
    My Pie Chart is fine except there are no percentage displayed. The legend on the right is fine with correct count of different version, but no percentage on the pie chart.
    Any idea?
    Thanks in advance,
    Fab

    Hello,
    well, I think this is not possible to ask OEM to print the percentage over the chart.
    Anyway, I sugget you to rewrite your query to compute the % in the query itselft thus to have the pct displayed on the rigth.
    Let's say you want to display the database files' size with such a query: select file_name name,bytes val from dba_data_files;
    This is the way to display the % of each file size over the total (remark the above query has been embeded in the new one).
    select name,ratio_to_report(val) over() pct
    from ( select file_name name,bytes val from dba_data_files )
    order by val desc
    It is quite easy to adapt such a tip to your own query.
    Regards,
    Noel Talard

  • Add Custom Color to pie-chart

    I have requirement to add specific color to each element in pie-chart.
    Below is my code for pie-chart with static json.
    Instead of the default colors given by the viz charts, I want to have red, green, orange and blue color in the pie-chart.
    Has someone changed the colors successfully?
    var oModel = new sap.ui.model.json.JSONModel({
         businessData : [
                   {Country :"Canada",revenue:2410.87, color: "red"},
                    {Country :"China",revenue:638.29, color: "green"},
                    {Country :"France",revenue:487.66, color: "orange"},
                    {Country :"Germany",revenue:170.23, color: "blue"}
    var oDataset = new sap.viz.ui5.data.FlattenedDataset({
             dimensions : [ {axis : 1, name : 'Country',  value : "{Country}" } ],
             measures : [ { name : 'Revenue',  value : '{revenue}' } ],
             data : { path : "/businessData" }
    var oBarChart = new sap.viz.ui5.Pie({
              width : "80%", height : "400px",
              plotArea : {
                       'colorPalette' : d3.scale.category20().range()
               title : { visible : true, text : 'Revenue By Country' },
               dataset : oDataset
    oBarChart.setModel(oModel);
    oBarChart.placeAt("sample1");
    Thanks,
    Shashi

    After lot of permutation and combination, I figured it out how to change the color.
    Changing colorPalette to 'colorPalette' : ['#00B050','#CCFF66','#FF0000','#FFC300'], it worked
    var oBarChart = new sap.viz.ui5.Pie({
              width : "80%", height : "400px",
              plotArea : {
                       'colorPalette' : ['#00B050','#CCFF66','#FF0000','#FFC300']
               title : { visible : true, text : 'Revenue By Country' },
               dataset : oDataset

  • Pie Chart: Same slice?

    Hi,
    I have make a chart pie with 3 prices (grades): 20, 20 ,22
    The 1/3 of the pie has the price of 20, the other 1/3 of the pie has the price of 20 and the remaining 1/3 has the price of 22. (three different colours)
    How can I make my pie to have 2/3 with the price of 20 and 1/3 with the price of 22? (Two different colours)
    Thanks

    The pie chart will reflect whatever values are in the data that it is based on. What exactly are you measuring, and what sort of data are you using?

  • Anychart pie chart - setting colours to match output (RAG)

    Hi,
    I have a table detailing outstanding issues each with a traffic light status of either red, amber or green. I would like to create an anychart pie chart whose colours match their status to give an easy visual representation of the data.
    I have managed to get it working if there's data in the table for each status type; I've used customised colours in the pie chart and used ORDER by in my SQL (the order of the customised colours listed to match the order of the SQL output), however, if one of the status' has a null value, the colours are assigned Amber 1st, Green 2nd and Red 3rd meaning that if there are no issues of Amber status the green status issues will be amber in colour on the pie chart etc.
    Is this possible to assign specific colours and if so how can I do it?
    I'm working on Apex 3.2.1.
    Thanks in advance

    I've managed to sort this now.
    In case anyone is interested, I created a view that would display the totals for each RAG status including a 0 if total is null and then set custom colours for the pie chart in the order to match the SQL output (i.e. A (amber) first, G (green) second, R (red) third). Simple but it works for my needs.

  • Colour coding slices of pie chart

    Hi,
    I'm generating a pie chart from a list of traffic light colours (red, amber, green) and would like to colour the pie slices to match the colour reported i.e. the red segment should be red etc.
    I've seen an example here:
    http://htmldb.oracle.com/pls/otn/f?p=11933:32
    which I have got to work but this only works if all of the colours are returned i.e. each of the status indicators have a value greater than zero. If any of the status indicator values have zero occurences then the coulours get mismatched. I assume this is because the slices are coloured in order of display. I tried to correct this by forcing each status to be selected even if the occurence was zero but this seems to give me bizarre results with the pie chart displaying the top portion in the wrong place.
    Has anyone got any ideas that might help resolve my problem?
    Cheers,
    Andy

    Hello,
    What you can do is set a hidden page item to the proper css using some plsql to output the css you want based off of a query.
    And then use that item in the custom css area as an Item substitution.
    Example
    set page item value SVG_CSS using some plsql logic to
    #data1 ,rect.data1 ,path.data1{fill:#f00;}
    #data2 ,rect.data2 ,path.data2{fill:#0f0;}
    #data3 ,rect.data3 ,path.data3{fill:#00f;}
    and in the Custom CSS attribute use &SVG_CSS.
    Carl

  • Create Pie Chart and Vertical bar chart using report builder 3.0 with sharepoint custom list

    Hi All,
    I have a client requirement to create reports which should show the graphical representation of SharePoint Custom List data. The reports are Month wise and YTD. Also i have to create dashboard.
    For creating reports, i have heard about Report Builder and SSRS. I have SQL server 2008r2 and installed report builder 3.0 but i am not aware of creating reports(KPI, Pie Chart, Vertical bar, etc.,) with sharepoint customlist.
    Can some one please help me on this.
    MercuryMan

    Here is some information about using the SharePoint List Data source with SSRS/Report Builder/BIDS:
    http://www.infotoad.com/blog/post/2012/10/11/using-a-sharepoint-list-connection-type-as-a-data-source-for-reporting-services.aspx
    http://technet.microsoft.com/en-us/library/ee633650.aspx
    http://www.codeproject.com/Articles/24469/SQL-Reporting-Services-data-from-SharePoint-lists
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to allow custom colors to SSRS Pie-Chart?

    Hi,
     I have a pie-chart in my report.
    Can anybody please tell me How I can allow custom color to each part/slice of the piechart..??or How i can assign cutom pallete to pie-chart?
    BhushanBhushan

    Hi,
    I think u r using one data Field and One category Field in the Graph.
    Then We have use Code Option
    -----Add this in Code
    Private colorPalette As String() = { "Teal", "Gold", "Aqua"}
       Private count As Integer = 0
     Private mapping As New System.Collections.Hashtable()
      Public Function GetColor(ByVal groupingValue As String) As String
            If mapping.ContainsKey(groupingValue) Then
                Return mapping(groupingValue)
            End If
            Dim c As String = colorPalette(count Mod colorPalette.Length)
            count = count + 1
            mapping.Add(groupingValue, c)
            Return c
        End Function
    Finally add this Expression in the Fill Option. And we can add more colors in the Code based on no. of Category
    =Code.GetColor(Category_Field)
     for example =Code.GetColor(Fields!Zone.Value)
    Regards,
    Thiyagu
    I've done everything listed here and in the link provided, but I get an error that reads, "There is an error on line 0 of custom code: [BC30201] Expression expected." I'm using SSRS 2005.
    Does anyone know what this could be?

  • Link not working on a pie chart which uses a customized XML

    Hi,
    I have created a pie chart which uses customized XML.
    For this, i am using database function. This function returns a customized XML which is eventually used by chart.
    But the problem now i am facing is the link on chart is not working . I have to navigate to another page from this chart sending value of link attribute.
    Can someone help me out , in how to create link in such case ?
    Thanks in advance.
    Edited by: Vaibss on Feb 22, 2011 10:49 PM

    Good news: I've found that the directive
    -Dlog4j.configuration=/home/myServer/Oracle/Middleware/wlserver_10.3/server/bin/log4j.properties
    shuld be instead:
    -Dlog4j.configuration=file:/home/myServer/Oracle/Middleware/wlserver_10.3/server/bin/log4j.properties
    - noticed that <<file:>> ? VERY important...
    This way the log4j logging works also on a standalone WLS.
    reference:
    http://jaikiran.wordpress.com/2006/07/05/i-get-log4jwarn-no-appenders-could-be-found-for-logger-message-2/
    Sergio.

  • Can I change the colour of my chart "3d pie" to CYMK in Keynote?

    Can I change the colour of my chart "3d pie" to CYMK in Keynote?

    Within Keynote, select the object, open the colour palette (View Show Colours) and select the sliders which is on the right of the colour wheel, in the dropdown menu, select CMYK sliders

  • Creating a custom pie chart

    Hey,
    If I have a table worksheet created with the following headings:
    TotalVisitor Male Female
    -------5------------3-------2 (Ignore the ---)
    How would I go about creating a pie chart using only the Male and Female columns? I don't want to use the total column. Also, is there any way to display both the count and percentage of Males and Females on the graph, so for example the male slice of the pie would be labeled something like 3 - 60%, or etc?
    Any suggestions?

    hi user445907--
    your link column in your chart query seems to us the correct syntax, so i'd imagine the issue is with your data/query or the item name in question...
    check the query and data: make sure your query returns valid values to be passed of to P21_DD_SALESORG. if so, you should see your links correctly formed as you hover your mouse over the individual slices. if your links look good then check your item names.
    item names: if your links above look okay, then might you be setting the value of the incorrect item? please confirm that. after clicking a pie slice to get to page 21, check to see that P21_DD_SALESORG is correctly set by clicking the Session link in the developer toolbar.
    basically, i'm suggesting that because your link column in your query looks okay, you'd want to see at what point the NULL value is being passed/set. try tracing things from the chart query over to page 21 (and try going backwards if you have to). if you can't find the disconnect, please feel free to set up an example on an instance, where i can take a look.
    thanks,
    raj

  • Customizing a pie chart for a personal finance sheet?

    Hi,
    I am creating a personal finance sheet, and I'd like to get a visual sense of where my money is going. I've put all my expenses in a table and added a column to indicate the sort of expenditure. Food, Clothes, CD's, etc.
    I'd like to use a pie chart to show which percentage of my money is going to each. Ideally I could link a category from a popup-menu to a section of the pie, but I cannot find a way to manipulate the selection of the sections of pie. Does anyone know of a way to accomplish this either dynamically or manually?
    One way I can think of would be to sum the sorts of expenditures in another table and using that to make the chart, but I don't know how this is possible.
    Thank you

    I named the first table "Main"
    In the second table
    column A contains the names of different kinds of expenses
    column B contains:
    =SUMIF(Main :: B,A,Main :: C)
    column C contains:
    =A
    column D contains:
    =B/(SUM(B))
    Given that we may chart the range C2…D4
    Yvan KOENIG (from FRANCE lundi 22 septembre 2008 18:51:43)

  • I am wanting to add an interactive pie chart to a custom form

    The pie chart or "wheel" is a visual for my project status form I want to share with clients. Can this be done? I only see an option to insert an image.
    thanks

    Currently we only support one field/item on a line. We are working on adding a feature that allows you to put multiple fields/items on a single line. We hope to have that out in a few months.
    Randy

  • R6i = Pie-Chart only without a legend possible & colour fix ?

    I try to create a pie-chart with a legend. It is possible to set the flag for the legend on, but it don't show me one. Only with other charts it shows.
    Is this correct and is there another way to create a legend ?
    Are the colors from the pie always the same (fixed/defined) or can I fix it ?
    Thanks for you help. Roger

    Hi Shishir,
    Bad news for you... I think the only way to do it is by creating and adding the chart dynamically in the code.
    Regards,
    Mathieu.

  • Custom built field to be used as lable in pie chart having multiple values

    Hi All,
    I have a requirement and if someone can throw some light, then I could try the same as I am stuck now.
    I have a list of Cities and I have to show the Top 5 Cities and remaining all should be "All Others". I have used Rank and was able to Show Top 5 and combine rest everything into "All Others" through a logic.
    e.g:
    City                            Sales Rev
    Belarus                          1000
    Delhi                               2000
    Melbourne                      2500
    Sydney                          2000
    Singapore                      1500
    All Others                       4500
    Now I have to show this new dimension combined like below and use New_City as Dim and Sales Rev as Measure in a Pie Chart. The Pie chart will be shown on Sales Rev as measure and the New_City which is a combination of a lot of other fields will show them as labels
    New_City                                                        Sales Rev
    Belaruschar(10)[Qty Sold]                          1000
    Delhichar(10)[Qty Sold]                               2000
    Melbournechar(10)[Qty Sold]                      2500
    Sydneychar(10)[Qty Sold]                          2000
    Singaporechar(10)[Qty Sold]                      1500
    All Otherschar(10)[Qty Sold]                       4500
    This is my requirement and I am stuck at combining City like Belaruschar(10)[Qty Sold] to form New_City because as and when I do this and remove City column from the table it starts throwing multivalue error or in some other style gives me a summation of the entire Sales Rev in each row.
    If I can achieve the same in some other approach also, I would highly appreciate the same if someone can share their ideas.
    Regards

    Greetings,
    Normally you can create a variable with a formula depending on the city's that you want to have.
    For example using efashion, the following formula would give you two lines:
    =If([City]="Miami";[City]Char(10)"1000";"Others")
    Result would be something like
    Miami
    1000                           1500
    Others                         20000
    Please note this is only an example and then you can apply your ranking. However bear in mind due to aggregation the Others will be the sum of all the other City which are not included in your condition.
    Regards,
    Rico.

Maybe you are looking for

  • My computer was stolen. How do I locate and transfer my my personal unpurchased music that was on I tunes to my new computer?

    My computer was stolen. How do I locate and transfer my personal unpurchased music that was on I tunes to my new computer?

  • Dualboot windows 8.1 with windows 7(recovery product disk)

    Hi, I am currently running windows 8.1 with pre-installed windows 8.I want to dualboot windows 8.1(current windows system) with windows 7 home premium.I have made a hard drive partion and now i have "2" hard disks 500 gb both of "2".I have a product

  • Can't open PDF files online???

    Hi,  I'm very new to this and haven't gone through all the history so maybe someone could point me in the right direction.  I'm on latest Windows version but can't seem to open any pdf files through websites.  I keep getting the message Internet Expl

  • Confirmation Control Process Flow

    My Dear Gurus, I want to know the actual confirmation control process in material manangement. Becoz of one of my client having the following scenerios. PO is created only by PR reference with confirmation tab enabling in po. Once he created the PO a

  • Decimals management through TCURX

    Hi Experts, I do have the usual issue with ITL currency in BEx (SAP BI 7.0 / BEx 3.5). As you probably know, Italian Lire is a no-decimal currency, stored that way in TCURX table. I do load my amounts from an Oracle database, through DBConnect. There