How to create a static colors to the pie chart based on condition

Hi,
I want to create a pie chart like to get the colors based on the values in the label column as defined.
Is it possible to create such pie chart.

Tulasi 1243 wrote:
Hi,
I want to create a pie chart like to get the colors based on the values in the label column as defined.
Is it possible to create such pie chart.I don't think so because that will be too dynamic, only thing you need is populate a hidden item on the page with comma delimited list of colors. and use it with the combination of Custom Color scheme and specify the hidden item example. PX_COLORS
This is what apex help says :
Enter colors separated by comma, or an item in the application that holds a comma separated list of colors.Set of Custom Colors will be used to change chart colors automatically if you selected Custom option for the Color Scheme.
For example:
Comma separated list of colors:#005381,#0D813D,#BB8199
Item Name:P1_COLORS

Similar Messages

  • Displaying specified colors on the pie chart rather than default colors

    Any ideas on how I can display my own colors on the pie charts rather than displaying default colors?

    Hi,
    You can specify your own colours by changing the default CSS styles.
    Go to the Chart Attributes for the pie chart, and in the CSS section select Yes in the "Use Custom CSS" option. You can now edit the CSS for the chart.
    At the bottom of the "Custom CSS, inline" setting, you need to add in two lines for each possible segment of the chart. Something like:
    rect.data1{stroke:#FFFFFF;stroke-width:0.5;fill:green;}
    path.data1{stroke:#FFFFFF;stroke-width:0.5;fill:green;}
    rect.data2{stroke:#FFFFFF;stroke-width:0.5;fill:yellow;}
    path.data2{stroke:#FFFFFF;stroke-width:0.5;fill:yellow;}
    rect.data3{stroke:#FFFFFF;stroke-width:0.5;fill:red;}
    path.data3{stroke:#FFFFFF;stroke-width:0.5;fill:red;}
    This will set the colours of the first three segments to green, yellow and red respectively. Add in more rect.datan and path.datan entries until you have accounted for the maximum number of segments that your chart may contain.
    Regards
    Andy

  • How to create 'custom defined color' in the palette (Oracle 6i Form Buidl)?

    I'm new to Oracle 6i and urgently need to edit a colour scheme used on an existing set of Forms in Forms Builder.
    I can see how to select colors from the default palette but cannot find a way to edit the 8 spaces kept in the palette for 'custom defined colors'.
    Thanks in advance.

    Have you tried with something as
    IF  DBMS_ERROR_CODE IN (-20001)  then
    message ('what_you_want');for example in ON_ERROR trigger?

  • How to create a Gradient color with the same gradient in vertical direction

    To fill a rectangle, for example, let's illustrate as following
    111111111
    222222222
    333333333
    444444444
    555555555
    444444444
    333333333
    222222222
    111111111
    where 1, 2, 3, 4, 5 denotes a color value.
    The following codes does not works.
    g2.setPaint(new GradientPaint(0, 0, new Color(133, 136, 189, 234), w, h,
                                      new Color(133, 136, 189, 6), true));Thank you in advance.

    Create two GradientPaint objects
            GradientPaint pnt1 = new GradientPaint(x,y,new Color(133, 136, 189, 234),x, y+rectHeight/2,new Color(133, 136, 189, 6));
            GradientPaint pnt2 = new GradientPaint(x,y+rectHeight/2,new Color(133, 136, 189, 6),x, y+rectHeight,new Color(133, 136, 189, 234));
            g2.setPaint(pnt1);
            g2.fill(new Rectangle(x, y, rectWidth, rectHeight/2));
            g2.setPaint(pnt2);
            g2.fill(new Rectangle(x, y+(rectHeight/2), rectWidth, rectHeight/2));

  • How to create a formula to get the month name based on userresponse

    Hi,
    I have created a report using E-Fashion - Actually i need  a report like  -  For ex i need 4 months data from 12 months
    My report should display the 4 months data along with starting & end month data in the next 2 columns
    I have used the prompt to fetch the data & i have created a formula in the cloumn like below:
    For the column haader i have given = Tonumber(userresponse("Enter start:")) - I am getting the Month number in the header But i need the month name in the header.Please guide me
    Regards
    Karthika

    Hi Ram,
      Thanks for your Help.I tried in an another way like I created 2 Variable -
    Start Date  =UserResponse("Enter Month(Start):"
    End Date = =UserResponse("Enter Month(End):"
    I have created the column header for
    start date:
    =If([start Date] = "1";"January";If( [start Date] = "2"; "February";If([start Date] = "3";"March";If([start Date] = "4";"April";If([start Date] = "5";"May";If([start Date] = "6";"June";If([start Date] = "7";"July";If([start Date] = "8";"August";If([start Date] = "9";"September";If([start Date] = "10";"October";If([start Date] = "11";"November";If([start Date] = "12";"December"))))))))))))
    End Date:
    =If([End Date] = "1";"January";If( [End Date] = "2"; "February";If([End Date] = "3";"March";If([End Date] = "4";"April";If([End Date] = "5";"May";If([End Date] = "6";"June";If([End Date] = "7";"July";If([End Date] = "8";"August";If([End Date] = "9";"September";If([End Date] = "10";"October";If([End Date] = "11";"November";If([End Date] = "12";"December"))))))))))))
    For the Datas in the column:
    Start Date:
    =[Sales revenue] Where([Month]=ToNumber(UserResponse("Enter Month(Start):")))
    End Date:
    =[Sales revenue] Where([Month]=ToNumber(UserResponse("Enter Month(End):")))
    I got the Report format as i required
    Thanks
    Karthika

  • How can I create a new color in the calendar?

    Good day,
    I wanted the to create a new color in the default calendar from Apple, but I do not know how that goes.
    Perhaps someone can explain to me how this works.
    I would be very grateful for any advice.

    If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.

  • How to create a "Custom Color" for highlighting? (Acrobat XI)

    March 10, 2014
    How to create a "Custom Color" for highlighting? (Acrobat XI)
    The numbers in the RGB and other fields change as various numbers are changed.
    I wanted to create a pale orange:
    Hue               13      Red      255
    Saturation   240      Green  177
    Luminosity    86       Blue     140
    I'd selected one of the orange squares in the color grid, to display the general orange area of the slider.
    I moved the slider to select a pale orange, which generated the above numbers.   Since this wasn't directly available to save to a Custom Color, I tried to  edit the numbers.  Unfortunately, the other numbers changed, making it impossible to actually create a color.
    Any suggestions would be appreciated.
    Note:  I used Techsmith's Snagit to show screen shots in a Word document.
    When I attempted to browse and upload the file, the error message said "[The content type of this image is not allowed.]"
    OK...what images *are* allowed?

    Hi Don,
    I saw Gilad answered your question in another forum post.
    Do you have everything you need at this point?
    Let me know if you need further assistance.
    Kind regards, Stacy

  • How to create a 2-color job in PageMaker?

    how to create a 2-color job in PageMaker?

    You need to set up a job with two inks. I would advise that you check with your printer before starting.
    In pagemaker you need to set up your colors. If you are using black as one of your colors you don't need to do anything for that, but the other spot colors need to be loaded up from the colors pallete. Everthing in your page maker documents needs to be only those two colors. You can check your document by printing to separations, where pagemaker prints all of the individual colors in the document. Two color images can be placed from Photoshop or Illustrator (they need to be saved as eps files), but they need to have the exact same colors as the pagemaker document. If the color names are even slightly off then it will show up as a different colors in pagemakers color pallete.
    Jay

  • How to create multi garnishment order for the same garnishment document

    Hi,
    Can anyone tell me how to create multi garnishment order for the same garnishment document. I tried to copy the entry in IT0195 but the sequence field is grayed out so it will just delete the old record. What configuration should I do to make this possible?
    Thanks a lot in advance.

    hi,
    As far as I got it.
    You cannot have multiple Garnishment order but if a need arises you have to maintain it in IT216.
    For that follow this path goto PA30->pernr->194->change->Garnishment->adjustment.
    Since like order you cannot maintain adjustment also directly.
    Regards,
    Amit
    Reward all helpful replies.

  • How to create a generalized version of the detailed polygons?

    How to create a generalized version of the detailed polygons?
    I have a table of detailed polygons (100+ vertices) and I want to get generalized version of these polygons.
    For example, assume I have a polygon with 100 vertices. Distance between vertex n and n+1 is 1.0.
    I want to get geometry (generalized polygon, line or point) where distance between vertex n and n+1 is 10.0 or more (I want vertices to be considered as one vertex if distance between them is less then 10.0).
    Is it possible to create generalized version of polygons on the fly?
    Any help is appreciated.
    Thanks.

    Scenario A:
    If all of your polygons have no interaction among them (No polygon shares any boundary with any other ones).
    In this case you can use the sdo_util.simplify in 10g to reduce the vertices in your polygons which returns new polygon geometries on the fly.
    If you found that simplify is not doing exactly what you want, you can always roll out your own implementation using PL/SQL or the new SDOAPI JGeoemtry class in Java. Both will give you complete access to the coordinate arrays in a polygon and update them back to the database after you have simplified them in your code.
    Scenario B:
    If your polygons share boundaries, then the above methods will not work since the simplification process may not preserve the topology among your polygons. What you can do then is to use the Java topo package to create a new topology by adding all of your polygons to to an empty topology (which you first create in the database and then load into memory using oracle.spatial.topo.TopoMap). Once you have a topology built in the memory, you can use methods such as oracle.spatial.topo.TopoMap.changeEdgeCoords() to simplify the edges of your polygons. You can then recreate the simplified polygons from the topology. This is just a rough guide; for more details you need to check out the java doc for the various packages mentioned above which are shipped with 10g spatial.

  • How to create a temp table in the memory, not in disk?

    in sql server, you can create a temp table in the memory instead of disk,
    then you can do the insert, delete,update and select on it.
    after finishing, just release it.
    in Oracle,
    I am wonderfing how to create a temp table in the memory, not in disk?
    thanks,

    Thanks for rectifying me Howard.
    I just read your full article on this too and its very well explained here:
    http://www.dizwell.com/prod/node/357
    Few lines from your article
    It is true, of course, that since Version 8.0 Oracle has provided the ability to create a Keep Pool in the Buffer Cache, which certainly sounds like it can do the job... especially since that word 'keep' is used again. But a keep pool is merely a segregated part of the buffer cache, into which you direct blocks from particular tables (by creating them, or altering them, with the BUFFER POOL KEEP clause). So you can tuck the blocks from such tables out of the way, into their own part of the buffer cache... but that is not the same thing as guaranteeing they'll stay there. If you over-populate the Keep Pool, then its LRU mechanism will kick in and age its contents out just as efficiently as an unsegregated buffer cache would.
    Functionally, therefore, there can be no guarantees. The best you can do is create a sufficiently large Keep Pool, and then choose the tables that will use it with care such that they don’t swamp themselves, and start causing each other to age out back to disk.
    Thanks and Regards

  • How to create a snapshot report on the specific destination?

    dear all
    How to create a snapshot report on the specific destination?
    thanks
    john

    user8779435 wrote:
    dear all
    How to create a snapshot report on the specific destination?
    thanks
    john
    Hi,
    when prompted just input the full path with filename for example
    Enter value for report_name: /tmp/awrreport.htmlHope this helps
    Cheers

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to create a different sid in the same  system

    Hi Experts
    In one system already i have installed HP Quality center with Oracle, Now i want to install SAP on the same system. Please help me how to create a different SID on the same system.
    Thanks in advance

    Hi,
    If you are talking about host...then when you will start installation of new system it ask for SID then choose different SID...
    Thanks
    Sunny

  • How to get the spool id or how to create a spool id for the report .

    hi,
    how to get the spool id or how to create a spool id for the report .
    this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
    my requirement is to download a pdf file from the alv grid list.

    Hi Raghu,
    Execute this program.
    REPORT  ZTEST_3318                              .
    tables: usr01.
    perform send_report_to_spool.
    *&      Form  send_report_to_spool
          text
    form send_report_to_spool.
      data: loc_dest like pri_params-pdest,
            wf_listname type char12,
            wf_listtext like PRI_PARAMS-PRTXT,
            wf_copies type i,
            wf_days type i,
            wf_PARAMS LIKE PRI_PARAMS,     " achieving file PRI_PARAMS.
            wf_valid type c.
      clear : wf_listname , loc_dest , wf_listtext .
      move: 'AP interface' to   wf_listname .
      move: 'AP interface' to   wf_listtext .
    select single spld into usr01-spld from usr01 where bname eq sy-uname .
      if sy-subrc eq 0 .
        move: usr01-spld to loc_dest .
      endif .
      call function 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = loc_dest
          copies         = 1
          list_name      = wf_listname
          list_text      = wf_listtext
          immediately    = ' '
          release        = ' '
          new_list_id    = 'X'
          expiration     = 1
          line_size      = 200
          line_count     = 65
          layout         = 'X_65_200'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = wf_params
          valid          = wf_valid.
      if wf_valid <> space.
        new-page print on parameters wf_params no dialog.
        perform write_summary .
        new-page print off.
      endif .
    endform.                    "send_report_to_spool
    *&      Form  write_summary
          text
    -->  p1        text
    <--  p2        text
    FORM write_summary .
    data: begin of itab occurs 0,
          matnr type matnr,
          end of itab.
    select matnr
           from mara
           into table itab
           up to 10 rows.
    loop at itab.
    write: / itab-matnr.
    endloop.
    ENDFORM.                    " write_summary
    This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
    After that use that spool for your purpose.
    If Useful award point

Maybe you are looking for

  • End Routine and test on a field not present in target system

    Hello, I find an issue in testing a field present in the ODS source system, using a Transformation. More exactly, I do not have a field that I need to test in my end routine because I can't find it in the RESULT_PACKAGE structure (because it is not p

  • Hello All - I have an HP Pavilion zv600, and would like to upgrade some things in it.

    Hello All - Hope you all had a very Merry Christmas & have a very Happy New Year as well !!!! I have an HP Pavilion zv600 - with an AMD Athlon 64 3200+ 1.99GHz CPU, and a ATI Mobility Radeon Xpress 200 series card in it - can I upgrade these to somet

  • How to set Blog password from .mac group?

    I would like to publish my iWeb blog on my .mac group page. However, the username/password combination that is required for access to my blog via my .mac group is my main .mac username/password (which I don't want to share with anyone!). It should be

  • Extra power cable needed for a SATA drive in a G4 AGP "Sawtooth"?

    If one adds a SATA controller card and a SATA hard drive to a G4 AGP "Sawtooth", will a power cable like the one at the below link be needed, or would the necessary power cabling ordinarily come with the drive? [http://eshop.macsales.com/item/Micro%2

  • GL account to be changed for a return by using AUART

    Can someone please advice on how I can go about doing this. I looked at the help and the substitutions and found that to add AUART to KOMKCV it needs to be in VBRK and the substitutions have BKPF and BSEG so I am still trying to find a way to do this