Pie Chart Designing help

Hai ,
Can Any body help me in creating a Pie Chart in Web dynpro ABAP ,
My requirement is I have an  data in an internal table with company code and  Amount , which need to be displayed in Pie chart , it could be helped if u send me the code .
Regards,
K. Vinay Kumar

Hi Vinay,
          Following are the steps to be followed.
                  1.  Add the Business Graphics(BG) UI Element  in the view.
                  2.  Change the chart type to pie
                  3.  Rite click on the BG UI and add catergory and series(simpleseries).
                  4.  Bind the category with the company code and series with the values.
                  5.  If u like the customize the BG, rite click and 'Edit customization' which will create a MIME Xml file.
Ranganathan.

Similar Messages

  • Query chart design: Help on design

    Hi,
    i have a query which has every information regarding sales and deliveries !
    Now i need to design a chart where in it can show the chart as columns for the sales documents delivered whether early, late or on time!
    I do have promised date as a char used in the selection in the query.
    i aslo need to differentiate the deliveries ( of how early or how late)
    range clusters  to deferentiate the results
    in other words, -5 to +2 is one range          ( on time range )
                           -8 to + 5 is one range
                           -11 to + 9 is one range like that
    Can any body help me of how can i build query chart ?
    Thanks,
    Ravi

    Hello VC,
        Thanks for your reply, and now the problem is in almost finished state, but im facing another problem.
          As you explained 100 Contract Account are selected based on the specific creteria.if i put the variable of defination (Count(1)) in column, instead of showing 100 in result it is showing more than that.
          And Here in my Cube Contract Account is a Dimension (you might be knowing, just mention for the sake of info).
          And my report looks like
    Contract Account(row) | Formula (Count(1)) (Col)| Contract Account selection creteria1 (Col) | Contract Account selection creteria2 (Col)|..............
    Hope this will give you clear picture. if no let me know.
    Thanks a lot,
    Umashankar

  • Zero or Empty cells in Pie-Charts (HELP!)

    I need to make a pie-chart that shows the names of the labels - unfortunatly there are some cells that have no values (?)
    But whenever i want the labels to showup in the pie-chart, all 'empty' or '0' cells clutter up the pie-chart, filling it up with zero's and several layerd labels on top of each.
    i know, i can hand-select those rows that do have non-zero values - but that is 'hand-work' and that is not what we are up to at all.
    i tried to trick with filtering out the rows, but it does not affect the chart
    i tried to delete the contents of the cells, but still, because it has a label in the left column, it shows up
    i tried to fool Numbers by producing an ERROR() in the calculation
    but nothing seems to get rid of the 0% in the pie-chart
    please help, i'm running out of time

    Hello
    What I describes here
    http://discussions.apple.com/thread.jspa?threadID=1202856&tstart=0
    for a line chart apply to 3D pie charts too.
    Yvan KOENIG (from FRANCE lundi 29 octobre 2007 14:39:33)

  • Problem with chart design

    Hi
    I am experiencing a problem with the output of a line chart that I am creating in APEX. Its labels (X-axis) are dates, but they do not seem to fit entirely into the lenght of the x-axis (all the ones that I have ordered in the sql expression). Also, I needed to place these dates in a vertical position, for which I cannot find any parameter. The sql is as follows:
    select null link, DATA_REGISTO label, Total value
    from (select DATA_REGISTO, TOTAL_SEQ_URGENCIA as Total FROM "ANDRE"."HTIDISTSIMPLIF"
    where
    DATA_REGISTO = '06.01.01'
    or DATA_REGISTO = '06.01.08'
    or DATA_REGISTO = '06.01.15'
    or DATA_REGISTO = '06.01.22'
    or DATA_REGISTO = '06.01.29'
    or DATA_REGISTO = '06.02.05'
    or DATA_REGISTO = '06.02.12'
    or DATA_REGISTO = '06.02.19'
    or DATA_REGISTO = '06.02.26'
    or DATA_REGISTO = '06.03.05'
    or DATA_REGISTO = '06.03.12'
    or DATA_REGISTO = '06.03.19'
    or DATA_REGISTO = '06.03.26'
    or DATA_REGISTO = '06.04.02'
    or DATA_REGISTO = '06.04.09'
    or DATA_REGISTO = '06.04.16'
    or DATA_REGISTO = '06.04.23'
    or DATA_REGISTO = '06.04.30'
    or DATA_REGISTO = '06.05.07'
    or DATA_REGISTO = '06.05.14'
    or DATA_REGISTO = '06.05.21'
    or DATA_REGISTO = '06.05.28'
    or DATA_REGISTO = '06.06.04'
    or DATA_REGISTO = '06.06.11'
    or DATA_REGISTO = '06.06.18'
    or DATA_REGISTO = '06.06.25'
    or DATA_REGISTO = '06.07.02'
    or DATA_REGISTO = '06.07.09'
    or DATA_REGISTO = '06.07.16'
    or DATA_REGISTO = '06.07.23'
    or DATA_REGISTO = '06.07.30'
    or DATA_REGISTO = '06.08.06'
    or DATA_REGISTO = '06.08.13'
    or DATA_REGISTO = '06.08.20'
    or DATA_REGISTO = '06.08.27'
    or DATA_REGISTO = '06.09.03'
    or DATA_REGISTO = '06.09.10'
    or DATA_REGISTO = '06.09.17'
    or DATA_REGISTO = '06.09.24'
    or DATA_REGISTO = '06.10.01'
    or DATA_REGISTO = '06.10.08'
    or DATA_REGISTO = '06.10.15'
    or DATA_REGISTO = '06.10.22'
    or DATA_REGISTO = '06.10.29'
    or DATA_REGISTO = '06.11.05'
    or DATA_REGISTO = '06.11.12'
    or DATA_REGISTO = '06.11.19'
    or DATA_REGISTO = '06.11.26'
    or DATA_REGISTO = '06.12.03'
    or DATA_REGISTO = '06.12.10'
    or DATA_REGISTO = '06.12.17'
    or DATA_REGISTO = '06.12.24'
    or DATA_REGISTO = '06.12.31'
    order by DATA_REGISTO)
    How can I do this?
    Thanks in advance
    Andre

    Hi Frank,
    I'm creating some SEM Management Cockpit, the problem I faced is not the BEx Query itself, but the pie chart design and display. I have processed my data in advance, so there a only 5 values in my query at a time, and these area values are not constant values. If I don't mark a selection criteria, it will display a full pie in Management Cockpit.
    And if I browse the query in IE directory, I can get a desired pie chart by "Swap Axes", so I think maybe there is a same choose in Management Cockpit.
    Thank you and Best Regards,
    Rocket

  • PIE CHART IN BEx ANALYSER

    Hello Guys,
    Could you please tell me how to display the BEx Analyser graph in Pie.
    I have created a query and when run it....its displaying data.
    then when i select display as option to graph....its displaying the bar format.
    I can find any option to change the format of the graph to pie chart.
    please help.
    thanks,
    pratap

    hi..
    create a query in Bex. And then publish the query from Bex-Analyzser (Business Explorer -> Tools -> Launch in WebBrowser).
    you will get the report in Web . Then go to "Graphical display" and  select the 'pie chart' .
    hope this helps...

  • Pie chart value not displaying in report builder

    Hi,
    I created a report by using report builder i used a pie chart in my report but one value is showing other one is not showing. Kindly tell me what is the problem behind it?
    here is an image which is not displaying 1 value in pie chart. please help me

    Hi Aamir,
    Please check if there is any misconfiguration (e.g. show data label, formatting, etc.) for your chart slice per the following post.
    http://social.technet.microsoft.com/Forums/en-US/ebc3bfc5-6338-4946-ade6-64e89611f6b7/ssrs-report-builder-30-pie-chart?forum=sqldatawarehousing
    http://msdn.microsoft.com/en-us/library/dd220469.aspx
    Further more, you can post this topic in SQL server forum for a better assistance.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=sqlreportingservices%2Csqldatawarehousing%2Csqlanalysisservices&filter=alltypes&sort=lastpostdesc
    Thanks
    Daniel Yang
    TechNet Community Support

  • Bar chart and pie chart in same screen at a time

    hi experts,
    I am trying to display the bar chart and pie chart in two separate containers in same screen .I wrote code for this in PBO of screen by using the function module  GFW_PRES_SHOW , but it is showing one chart at a time which is lastly executed in the PBO.
    I need to display two charts in two container at a time by calling the same function modules two times first time for bar chart second time for pie chart by changing the  parameter 
    presentation_type      = 1 for bar chart
    presentation_type      = 31 for pie chart.
    please help me in this regard asap.
    Thanks,
    K.Rajesh.

    Hi..
    Instead of using the FMs .. you should use the Object oriented approach for the same.
    Brief steps:
    You should have 2 control areas and 2 containers.
    Define different instances of 2 controls and attach them to the 2 containers.
    Call individual methods to display the controls in PBO.
    This should show both at a time. It is really simple.
    As an example you can go to SE38. From the (sap) menu go to Environment -> Examples -> Control Examples.
    Here you will see lot of examples.
    Regards,
    Varun.

  • Need help to make a Pie Chart

    I am trying to draw a pie chart for the Uptime Report.
    I have the Following table definition.
    create table downtime_detail ( env_code number, down_start date, down_end date );
    insert into downtime_detail values (1,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('01-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('03-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('15-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('15-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('26-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('28-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    Now the Below Query returns me the values val1 and val2 on the basis of which I need to draw a Pie Chart.
    ==========================================================
    select round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
    from
         (select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
         (select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
    VAL1 VAL2
    3.64 96.36
    ==========================================================
    Can someone help me try do this ?
    Actually I tried but I couldnt put my custom query to get this Pie chart. Or if there is any other better approach please let me know.

    nikhilskamik,
    I believe all that you are missing in your sql is a NULL. Below is the help text for creating a Flash pie chart.
    Specify the SQL query that will populate your chart, for example:
    select null, ename, sal
    from emp
    Alternatively you can write a PL/SQL function return a SQL query, for example:
    begin
    return 'select null, ename, sal from emp';
    end;
    Your query should then read:
    select null,round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
    from
    (select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
    (select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
    Jeff

  • Pie Charts causing Design mode to give warning and not preview the app

    I am using the final release. I have pie charts in my app. I
    also have column charts. Both are fed data the same way. Both work
    as expected when i build the app, and there are zero errors in the
    app. however, i was experiencing an issue in flexbuilder where in
    design mode, a vague warning was issued and the preview could not
    be displayed (blank except for very gernal 'outlines' of the layout
    and controls)
    I narrowed the problem down to the pie charts. Is anybody
    experiencing this problem? The application worked as expected, and
    previewed as expected in Design mode when previewd/built in Beta
    3.

    Hi masavran,
    For this issue, it's related to the render environment (browser/application). On Reporting Services side, we don't have any properties to change the resolution for chart to make it smoothly. We suggest you post this thread on Visual Studio forum
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
    Or the forum of corresponding browser.
    Best Regards,
    Simon Hou

  • Pie Chart Help

    Hi,
    I have a pie chart Its with AS2.0 i want to make it with AS3.0 can any one help me to start with it.

    Hi,
    Thanks for the Reply.
    I am trying to learn How to make 3d Pie chart. I found this on the Net. I started Learning AS with 3.0 not with 2.0 so that I am trying to create with AS 3.0 from the scratch. I am not much familiar with AS2.0. So i need help to create that. That Pie Chart is with AS2.0. and how do i upload files on the forum.
    Thanks
    Pinal

  • Only One Label is Formatting as Percent in a Pie Chart - Help

    I'm having trouble with a pie chart.  I have only two values in the chart and have added labels.  When I preview the report both labels display correctly.  However, when I right-click the labels in design view and select the #PERCENT option
    from the Series Label Properties and the preview the chart, only one label is actually formatted as a percent. 
     I don't get it? 
    I've followed the steps in other forum questions to get around this but nothing works.  I am in a hurry and really need this to work properly, can someone spell this out for me?
    This is what I see in preview currently:

    Hi Avenue,
    Glad to head that your issue has been solved. Thank you for sharing.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • I need help making a pie chart

    Hello, hoping for some help with making a chart that will update as i continually input data
    I have a chart that has many columns logging details of win/loss records. I would like to make a pie chart that represents a set of columns and shows the ratio of wins for each of the columns.
    I will try and give some better details. There are 5 columns (j,k,l,m,n) and each represents a color. In each column there are check-boxes. 1 or more will be checked on each row. On the same row there is a tally of wins. each row represents a different day. What I am looking for is a pie chart that shows how many wins i have in each color.
    for example.
    nov 1st: 5 wins in color J
    nov 2nd: 2 wins in color k
    nov 3rd: 4 wins in colors m and n
    the pie chart will contain a total of 15 'wins' split up on the chart between each color....... 5(j) + 2(k) + 4(m) + 4(n). theoretically the J should take up 1/3rd of the pie and so on.
    I also have a total at the bottom of the colors column, but this will not show which color got the wins.
    Hopefully this makes some sense to understand and if I am very fortunate someone much smarter then me will be generous enough to help me out.
    Thank you very much, all help is appreciated.

    Hi Anthony,
    This table may be  what you want. I added a row at the top (you don't need that row. It is just may way of getting around the poor screen shots in this forum).
    I hid some columns, then I copied the table and pasted directly into this reply (I have had it with screen shots ).
    A
    F
    J
    K
    L
    M
    N
    Date
    Wins
    Colour J
    Colour K
    Colour L
    Colour M
    Colour N
    Nov 1
    1
    TRUE
    Nov 2
    1
    TRUE
    Nov 3
    2
    TRUE
    TRUE
    Checkboxes show as TRUE (not a tick) in this pasted table. But a tick = TRUE .
    Formula in F3 (Wins, Nov 1)
    =COUNTIF(J3:N3,"=TRUE")
    I hope this helps with your pie chart.
    Regards,
    Ian.

  • Need help with pie chart code

    I am new to Java and am having problems and I am in need of some help. I have written the code for my Mortgage Calculator but do not know how to get my chart to work. I found an example of the chart code in my text book but I am not sure if I wrote it wrong. When I run the MortCalc code it compiles but the Pie Chart code won't. I tried to run the chart code by itself but it prints out another calculator. My question is 1.) Is my chart code written wrong? and 2.) How do i enter it into my MortCalc code so that I get my chart?
    **Below I have included the assignment(so you know what I am doing exactly) and below that the pie chart code just in case you have questions. Thanks for any advice you can give.
    **If you need the rest of the code I can post it too. It was too long to post with the pie chart code.
    Assignment:
    Write the program in Java(w/ a GUI) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage adn the user's selection from a menu of availible mortgage loans:
    --7 yrs @ 5.35%
    --15 yrs @ 5.5%
    --30 yrs @ 5.75%
    Use an array for the mortgage data for the different loans. Read the interst rates to fill the array from a sequential file. Display the mortgage payment amount followed by the loan balance and interest paid for each payment over the term of the loan. Add graphics in the form of a chart.Allow the user to loop back and enter a new amount and make a new selection of quit. Please insert comments in the program to document the program.
    CODE:
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.Rectangle;
    //Class to hold a value for a slice
    public class PieValue {
    double value;
    Color color;
    public PieValue(double value, Color color) {
    this.value = value;
    this.color = color;
    // slices is an array of values that represent the size of each slice.
    public void drawPie(Graphics2D g, Rectangle area, PieValue[] slices) {
    // Get total value of all slices
    double total = 0.0D;
    for (int i=0; i<slices.length; i++) {
    total += slices.value;
    // Draw each pie slice
    double curValue = 0.0D;
    int startAngle = 0;
    for (int i=0; i<slices.length; i++) {
    // Compute the start and stop angles
    startAngle = (int)(curValue * 360 / total);
    int arcAngle = (int)(slices[i].value * 360 / total);
    // Ensure that rounding errors do not leave a gap between the first and last slice
    if (i == slices.length-1) {
    arcAngle = 360 - startAngle;
    // Set the color and draw a filled arc
    g.setColor(slices[i].color);
    g.fillArc(area.x, area.y, area.width, area.height, startAngle, arcAngle);
    curValue += slices[i].value;

    // Draw each pie slice
    double curValue = 0.0D;
    int startAngle = 0;
    for (int i=0; i<slices.length; i+) {
    // Compute the start and stop angles
    startAngle = (int)(curValue 360 / total);
    int arcAngle = (int)(slices.value * 360 / total);Look here and i think you will find some syntax errors.
    Count the brackets.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Help with 3D pie chart

    I tried to create 3D Pie Chart using the code below but it come back with no chart data available. I tested the select statement in sqlplus, it works. Is there something wrong with my select statement??
    SELECT NULL LINK, 'Saturday' LABEL, DECODE(SUM(hours1),NULL,0,SUM(hours1)) VALUE
    FROM   Ewbs e,
           Timesheet t
    WHERE  t.Company     = 'A1000'
    AND    t.Entity_item = '504586'
    AND    t.Timesheet_date > NVL(TO_DATE('07-NOV-2008','DD-MON-YYYY'),TO_DATE('01-JAN-1900','DD-MON-YYYY'))
    AND    t.Timesheet_date <= TO_DATE(SYSDATE,'DD-MON-YYYY')
    AND    e.Ewbs_code = t.Ewbs_code
    AND    e.Hour_class = '13'
    AND    TO_CHAR(t.Timesheet_date,'YYYY') = TO_CHAR(SYSDATE,'YYYY')
    UNION
    SELECT NULL LINK, 'Sunday' LABEL, DECODE(SUM(hours2),NULL,0,SUM(hours2)) VALUE
    FROM   Ewbs e,
           Timesheet t
    WHERE  t.Company     = 'A1000'
    AND    t.Entity_item = '504586'
    AND    t.Timesheet_date > NVL(TO_DATE('07-NOV-2008','DD-MON-YYYY'),TO_DATE('01-JAN-1900','DD-MON-YYYY'))
    AND    t.Timesheet_date <= TO_DATE(SYSDATE,'DD-MON-YYYY')
    AND    e.Ewbs_code = t.Ewbs_code
    AND    e.Hour_class = '13'
    AND    TO_CHAR(t.Timesheet_date,'YYYY') = TO_CHAR(SYSDATE,'YYYY');

    Hello,
    Can you create the same query you use for your chart as a report please?
    Just to make sure you get actual data. One other thing, you can write DECODE(SUM(hours1),NULL,0,SUM(hours1)) as NVL(SUM(hours1),0)
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

  • Need Help with Pie Chart

    Hi guys,
    I am trying do generate a pie chart using JSP or Servlet. I tried out the codings at the www.builder.com site.
    But it's not working as it returns "index array out of bounds 0" error.
    Has anyone tried it before...
    Any help would be much appreciated
    the url for the site
    http://builder.com.com/5100-6370-1051766.html?tag=search

    The comple JSP code from the site is at :
    http://builder.com.com/5110-6370-1051781.html

Maybe you are looking for

  • What to do with an old Time Capsule?

    I just retired a 5 year old Time Capsule after replacing it with a new 2 TB model. What could I do with the old one? Would it be good for extending improving my home network? Existing network seems pretty fast with the new time capsule. Would using t

  • Merging Documents - Fill in Form Fields Issue

    I have a customer that is using Acrobat Professional 11.0 Here are the details - can she do this using the merge documents together function rather than having to do the documents separately? When using the merge documents together function, form fie

  • Only two work

    i have just a new computer with a great soundcard and got a set of the inspire T6160 and after setting them up and trying to play music, games and movies on my computer discoverd only the ones pluged into the 2 front slots worked. how can i get it so

  • Unable to connect to local Exchange 2013 server when opening Exchange Management shell

    Hi Everyone Yesterday evenything was working fine, and then this morning, I`m unable to establish a connection with the Exchange shell. I receive the following errors. Any help is appreciated.          Welcome to the Exchange Management Shell! Full l

  • Illustrator color library display in CS5

    I am having the same issue that was in CS3 with the color library window not staying open after quit and restart Ai. This was discussed in a forum for CS3 (http://forums.adobe.com/message/1255815). I have tried that fix and I have persistent checked