Pie Chart Color

Is it possible to add color for each label in the SQL query? I've used custom colors in report attributes, but it didn't help, shows Red for Amber when there are no rows for Red category.
SELECT '5B3E4D2FB55DB8641C1ED319C93B2A49' LINK, 'RED' label, COUNT(1) dbcnt
FROM custom$db_metric_31_days a
WHERE a.metric_guid = '5B3E4D2FB55DB8641C1ED319C93B2A49' AND FLAG IS NULL
AND TRUNC (a.calculation_date) = TRUNC (SYSDATE - 1)
AND a.avg_sdv_31_days >= 90
UNION ALL
SELECT '5B3E4D2FB55DB8641C1ED319C93B2A49' LINK, 'AMBER' label,COUNT(1) dbcnt
FROM custom$db_metric_31_days a
WHERE a.metric_guid = '5B3E4D2FB55DB8641C1ED319C93B2A49' AND FLAG IS NULL
AND TRUNC (a.calculation_date) = TRUNC (SYSDATE - 1)
AND a.avg_sdv_31_days BETWEEN 80 AND 90
AND a.server_name in (
Can someone help me on this?

I've fixed it.

Similar Messages

  • Pie Chart Color Scheme

    Post Author: Janice
    CA Forum: Charts and Graphs
    I have a report written in Crystal Reports XI that has a pie chart in the Report Header displaying counts of activity by "reason code" for a selected time period.  The users have noticed that, when they run the report for different time periods, the same "reason" has a different color on each report.   It seems that the default is to sequence colors based on volume (size of 'pie wedge').
    They would like to have the colors appear linked to Reason Code rather than to volume.  Is there a way to change the pie chart color scheme so that it is coded by "description" not by "count"?

    hi,
    As you are selecting 'Color Highlight' for different Pie Slices,  "For all records" option shouldn't be selected.
    It should be "On Change of".
    Then obviously you will see the colors specified in 'Color Hghlight' tab.
    Regards,
    Vamsee

  • Getting the default pie chart colors

    Hello,
    I have a pie and a bar chart that display the same
    information... Pie charts colors are filled automatically, and I
    would like to use those colors for my bar chart as well... is there
    any way to get those colors?
    Tnanks.

    I ran into this issue myself and figured it out here:
    Can I access Flex's default Chart colors? Or can I access a Series' current color?

  • PIE Chart color assignment

    I have a Pie chart where the actual data values are Green, Red and Yellow and the user wants the chart colors to be same as the data values.
    Is there any way I can do that?
    Currently using APEX 4.0.1.00.03
    Any help would be much appreciated.
    Thanks, Greg
    Edited by: Greg McEachern on Dec 4, 2012 10:38 AM

    Thank you Matthew. That worked kind of.
    The issue is the query returns Yellow, Red, Green, Black in that order. So when I do the custom colours in that order everything is fine when all those 4 values are returned. But if no data comes back for Red. The data values for Green show up as the color Red and the Black shows up as Green. Any way I can resolve that?
    Thanks, Greg

  • PIE Chart Color Highlight - setting colors

    Hi
    PIE Chart showing default colors even after setting the diffent colors to OIE chart slices from Color Highlight tab.
    PIE chart is showing only one slice when I select Data for the PIE Char is "For all records".
    Could you please let me know how to set the different colors for slices?
    Thank you

    hi,
    As you are selecting 'Color Highlight' for different Pie Slices,  "For all records" option shouldn't be selected.
    It should be "On Change of".
    Then obviously you will see the colors specified in 'Color Hghlight' tab.
    Regards,
    Vamsee

  • Don't understand pie chart color manipulation

    Hi,
    I've tried changing the colors of my pie chart in the CSS file, but I can't seem to figure out what to change. I don't think I understand how it works.
    The line I tried to modify is:
    #dial{stroke:#336699;stroke-width:2px;fill:#336699;fill-opacity:.5;}
    Is this the right line?
    Thanks,
    Nora

    Hello,
    No that line controls the part of the dial chart.
    take a look at this example http://apex.oracle.com/pls/otn/f?p=11933:32
    What your going to want to mess with will look like this
    #data1 ,rect.data1 ,path.data1{fill:#336699;}
    #data2 ,rect.data2 ,path.data2{fill:#FF0000;}
    #data3 ,rect.data3 ,path.data3{fill:#00FF00;}
    #data4 ,rect.data4 ,path.data4{fill:#0000FF;}
    #data5 ,rect.data5 ,path.data5{fill:#DDDDDD;}
    #data6 ,rect.data6 ,path.data6{fill:#FFFF00;}
    Carl

  • Pie Chart Colors

    So I have created a pie chart using the Pie Graph Tool in AI, the data is accurate once it is made, but I cannot change the colors.  After entering in the numbers into the cell I select the check mark.  It makes the pie graph.  Doesn't let me select the separate slices alone so I expanded the entire graph, then direct select to change colors.  It lets me select the separate slice, but when I go to change the color it either doesn't work it changes from one shade of grey to another.  I need actual color.   
    Any suggestions? Have tried making several different graphs but still the same issue.  Using Creative Cloud

    You should be able to direct select single parts of a "live" graph.
    This has lead to corrupt files in some cases though. So you might want to test this thoroughly.
    If the color panel doesn't show color sliders, try and select CMYK from the panel menu. If that doesn't show, apply a color swatch first and then change its values.

  • CS5 - Make pie chart, color it, save...crash

    Duplicated this.
    Create a pie chart with two slices. Isolate it. Pull one slice out a bit. Add gradient to both. Color using RGB values in an RGB document. Save. Crashes every time.
    When software companies don't compete, the customer suffers.

    Found another post where CS5 crashes on save with a pie chart.
    CS4 doesn't do it, so I'm using that...just like I go back to Flash CS4 for things that crashes CS5...
    Thanks

  • Can I access Flex's default Chart colors? Or can I access a Series' current color?

    I've created a popup to dynamically add/remove Series from a LineChart and/or AreaChart.  Problem is, I want to keep the Series' line color consistent, and Flex wants to re-assign them from it's default list, which is confusing.
    I don't want to just set the Series.visible to false for two reasons:
    1. I also want the LegendItem to disappear from the Legend
    2. Stacked AreaCharts (type == 'stacked') get messed up when you set one of its Series.visible = false
    So to avoid color reassignment, I want to explicitly set the lineStroke for my Series.  But if I'm using Flex's default colors, I need to either:
    a. Have access to the static default color array - does anyone know where this is???  or
    b. After the Series are drawn (updateComplete?), I need to query each for its lineStroke color and then explicitly set it to that same color.  How do I do this???  getStyle('lineStroke') returns null, and I can't see a way to get at the renderer.
    I'm essentially re-posting the following unanswered posts, which I promise to link back to this if someone can please help:
    Binding to Rendered Chart Data [http://forums.adobe.com/message/186840#186840]
    Getting the default pie chart colors [http://forums.adobe.com/message/36410#36410]
    Please help!

    Matt, thanks for your reply, but unfortunately, for LineCharts, LineSeries.getStyle('fill') always returns 0xffffff (white).
    I finally found that after my LineChart is completely rendered, (sometime after LineSeries' updateComplete), LineSeries.getStyle('lineStroke') and getStyle('stroke') both return the correct Stroke.color values ("lineStroke" refers to the line segment and "stroke" to the data point).
    Rather than fooling around with collecting the actual values dynamically, I just generated some trace() output from a  LineChart with a bunch of Series to create my own static Array from which I can initialize my Series.setStyle(color) as I dynamically add them to my LineChart:
            public static const DEFAULT_FLEX_SERIES_COLORS:Array = [
                0xe48701, 0xa5bc4e, 0x1b95d9, 0xcaca9e,
                0x6693b0, 0xf05e27, 0x86d1e4, 0xe4f9a0,
                0xffd512, 0x75b000, 0x0662b0, 0xede8c6,
                0xcc3300, 0xd1dfe7, 0x52d4ca, 0xc5e05d,
                0xe7c174, 0xfff797, 0xc5f68f, 0xbdf1e6,
                0x9e987d, 0xeb988d, 0x91c9e5, 0x93dc4a,
                0xffb900, 0x9ebbcd, 0x009797, 0x0db2c2
    It turns out there's only 28 unique color values before the color pattern repeats.  I don't see a numerical pattern; perhaps someone with more time on their hands can figure out if there's a function behind this series of values (printed here in binary, decimal, and hex):
            111001001000011100000001  14976769  0xe48701
            101001011011110001001110  10861646  0xa5bc4e
            000110111001010111011001  01807833  0x1b95d9
            110010101100101010011110  13290142  0xcaca9e
            011001101001001110110000  06722480  0x6693b0
            111100000101111000100111  15752743  0xf05e27
            100001101101000111100100  08835556  0x86d1e4
            111001001111100110100000  15006112  0xe4f9a0
            111111111101010100010010  16766226  0xffd512
            011101011011000000000000  07712768  0x75b000
            000001100110001010110000  00418480  0x0662b0
            111011011110100011000110  15591622  0xede8c6
            110011000011001100000000  13382400  0xcc3300
            110100011101111111100111  13754343  0xd1dfe7
            010100101101010011001010  05428426  0x52d4ca
            110001011110000001011101  12968029  0xc5e05d
            111001111100000101110100  15188340  0xe7c174
            111111111111011110010111  16775063  0xfff797
            110001011111011010001111  12973711  0xc5f68f
            101111011111000111100110  12448230  0xbdf1e6
            100111101001100001111101  10393725  0x9e987d
            111010111001100010001101  15440013  0xeb988d
            100100011100100111100101  09554405  0x91c9e5
            100100111101110001001010  09690186  0x93dc4a
            111111111011100100000000  16759040  0xffb900
            100111101011101111001101  10402765  0x9ebbcd
            000000001001011110010111  00038807  0x009797
            000011011011001011000010  00897730  0x0db2c2
    Anyway, it sure would have been nice to have access to this in the API - hopefully I've saved someone else the time I've wasted...

  • How do I update the colors on a 2d pie chart after adding 3 new variables

    I have added 3 additional items to a 2d pie chart.  Unfortunately, when the data is displayed the recently added items are displayed with the SAME colors as the first 3 items in the chart.  I need all variables to display in distinctly DIFFERENT colors.

    Hi tarheel,
    You can click on the color you want to change and go to the style tab:
    You can do it there. I have also changed colors after clicking the data tab from within edit data references.
    quinn

  • 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

  • Change colors in multiple pie chart - with legend

    I need to change the colors of groups shown in multiple pie chart diagram in CR XI.
    I managed to actually change the colors in the diagram by using highlighting rules in the wizard. (Sorry, I need to guess the correct English terms since I am using the German version.)
    But the colors in the legend are not affected by the rules, so the legend displays colors which are not shown in the diagrams at all. How can I fix this?
    Thanks in Advance
       Andreas

    Hi Andreas
    I have the same problem.
    I found this BO note:
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131383434373026
    I says that this behaviour is by design and cannot change
    Not what you would expect really! 
    If the series colour can be changed then why does the series marker colour not match the series it represents?
    Patrick

  • Pie Chart in WEBI is Grey color

    Hi All,
    As part of my project requirement I need to develop a WebI report with Table and Pie chart.I selected the pie chart, intially it was in grey color and assigned the data to chart .When I tried to change the color of the chart it is not displaying colors.Please suggest me how to change the color of pie chart.
    As I gone through the posts in the SDN couldn't found much relevant information.
    Regards,
    Saroja

    Hi Saroja,
    I'm experiencing exactly the same problem. Did you by change find a solution in the meantime?
    P.S: I'm using Webi Rich Client version 14.0.9 build 1345
    Regards, Raimond

  • 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

  • Regarding standardization of Colors in Pie chart Categories

    Dear BI Experts,
    I have an issue regarding Pie Charts in the WAD. When we have 5 categories defined in the Pie chart and each category has got its own defined color.
    <b><u>issue no 1:</u></b> It is very difficult to go to each cahrt and select the colors for each chart in each category. Is there any place where we can define the colors in common?
    <b><u>issue no 2:</u></b> When we have the data for all the categories it is doing good. In case of data not available for any purticular category the color defined for that category is coming for the next category. which shud not happen.
    Is there any chance of solving this?
    Anyone please help me in this concern. Very much awaited.
    Regards,
    Kishore.

    Bhanu,
    Sorry about the late response ... connectivity issues....
    As for the color issue - you would have fixed colors to each series ... and when there is no data for one of them then that particular series is absent which would mean that the next series would take its place.
    Example :
    Original query -
    4 categories with 4 colors
    If one of the categories does not have data then the query would have 3 categories and category 4 would take the place of category 3 and hence the issue of the colors...
    I was not able to simulate the same however ....
    1. If you had the same data set in Excel - are the colors proper- any Standard data set / BeX chart
    2. Is there anyway you can fix the number of categories by way of restricted Key figures etc ? then if that category is present in the query even if there is not data the colors should be maintained.
    Arun
    Hope it helps...

Maybe you are looking for

  • Home Hub 3 and 4 Connections Limit ?

    Hi All i am very much hoping there is someone expert on issues such as number of connections allowed and home hub interconnecting. First things first.  I had a home hub 3 and it kept on dropping the signal.  it went on for several months and many cal

  • Trying to understand the basic concept of object oriented programming.

    I am trying to understand the basic concept of object oriented programming. Object - a region of storage that define is defined by both state/behavior. ( An object is the actual thing that behavior affects.) State - Represented by a set of variables

  • NEW TLD's NOT RECOGNISED

    Hi, I have a new TLD domain name which does not contain the traditional /com extension. In fact my extension is just .media When attempting to put this into a form widget for example so that it links it appears that Adobe Muse does not recognise it a

  • How to count the existing license from SAP B1

    Dear All, Does anyone how to count......how many licenses such as CRM or Professional have been used? Is it possible to use SQL to get the result? From Samson

  • Email xls to text as email

    Hi, has anybody done this? Can PI read specific outlook emails based on a user Can PI read the Excel attachment (in outlook email) and convert to text file Can PI email the text file to SAP user Inbox (ECC) Thanks!