Business Graphics - Pie Chart

Hi,
How to display the value of each pie in a pie chart in the form of percentage?
Regards,
Nikita

http://www.hostpix.de/file.php?dat=DvsJtq41.JPG
I hope this has helped you
Edited by: Bettina Spitzmüller on Jun 3, 2008 8:56 AM

Similar Messages

  • Business graphics Customizing chart not found; contact administrator in MSS

    Hi All,
    We are getting error Business graphics Customizing chart not found; contact administrator in MSS-->Home Service only for one user but for remaining users it is working fine. Please find the below screenshot.
    Please provide your inputs......
    Regards,
    Rahul.

    go to t -code st01 and switch on the trace on top and tick the buttons in that and after that ....check for working  manager user id  first and do it  with this user which is not working u can know  any authorisations are missing assign them for this user ..ur issue will be solved

  • Business Graphics, intermixing chart types

    Hi to all,
    Has anyone tried to intermix chart types?  Specifically, i'm trying to display a "column" type chart, but I would like to have a straight horizontal line through the chart indicating a key value or values.  Any help would be greatly appreciated.
    Thanks in advance

    Hi Michael,
    follow the following link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/web dynpro tutorial and sample applications.faq#q-20
    How to use Business Graphics in Web Dynpro applications?
    The following tutorial shows you step-by-step how to create a simple business graphic using Web Dynpro.
    A simple business graphic is a chart consisting of a category and one or more data series. Column charts, bar charts and pie charts are typical examples of simple business graphics.
    Simple business graphics differ from complex business graphics, such as scatter charts and portfolio charts.
    Requirements
    In order to use business graphics in your application, you must install the Internet Graphics Service (IGS) on your server environment. Furthermore, the IGS must be configured on the J2EE engine.
    Code Sample
    The ready-to-use project is available to download from SDN.
    Corresponding Tutorial
    Using Business Graphics
    Hope this helped you
    Regards,
    RK

  • Business Graphics: Speedometer chart: Change Maximum value on runtime

    Hi Skilled,
    We faced a little problem in our project. We use Business Graphics component and Speedometer chart on the View and we should change maximum value of the graphics on runtime.
    I could easily change the maximum on design time in Chart Designer -> Axis -> Maximum Value, but I haven't found a way to change it on runtime.
    Are there any known ways to change the value on runtime?
    Best Regards, Dmitry

    Hi,
    by calling setDirectCustomizing you can provide customizing XML at runtime.
    Create your own customizing XML where you define the maximum value and call this method.
    You can also use the SAP Chart Designer from SDNs download area for creating the XML (just to get an idea how the XML has look like in your application).
    Regards, Kai

  • Business Graphics - Bar Chart - How to make the height extendable

    Hi Experts,
    I have created Business Graphics UI element for my WD application which fetches data from R/3. I am displaying
    1) Cost Element in Y-axis and Cost in X-axis.
    2) I have set ChartType = Bar, height = 300, width = 830
    When the no of cost elements is upto 7-8, the graph is getting displayed correctly.
    However when the no of cost elements increases to more than 12, the graph becomes un readable. The system displays lot of texts in Y-axis.
    I want to make sure that if no of cost elements increases, the Y-axis of graph should extend.
    How we can do so?
    Regards,
    Gary

    I could not got any solution of this issue. Finally I convinced the customer to display only top 10 records. Any way higher level managers won't have time to see the graphs of all data.
    One way of resolving the issue is like this - create say 3 Business Graphic UI element. The height of Business Graphic UI element can be set as 300, 600, 900 etc.
    For 10 records use Business Graphic UI element  of height 300.
    For 20 records use Business Graphic UI element  of height 600.
    For 30 records use Business Graphic UI element  of height 900.
    Use the 'Visibility' data type to hide / unhide the Business Graphic UI of different height.

  • Business Graphics - Chart Type - Columns, and Simple Scatter Type

    Hi,
        I am interested to know more about Business Graphics Specially Chart types Columns and
    Scatter type ( and Time Scatter).  I am facing problem in producing X and Y Co-ordinate values for Charts. (Specially Date Values in X Axis.). I tried with Time Scatter type and need more documents.
    Expecting Good Documents and suggestions.
    Thanks, 
             Vinod V

    Hi
    Check this link
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/86/243f403f0a9354e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/0b/79553b066d9414e10000000a114084/frameset.htm
    https://help.sap.com/saphelp_nw04/helpdata/en/0c/95c83956852b51e10000000a114084/frameset.htm
    thanks

  • Moving pie chart LABELS

    Greetings for the first time. I'll get right to business:
    Making pie chart. I want to move the data labels completely outside the chart itself b/c the text is not very legible in its default location. I click on the data label and I notice that Numbers recognizes that I've clicked -- not just the label, but the entire pie slice. So, when I move what I hope is just the label, it moves the whole slice ("explode" for just one piece).
    Can I somehow just move the labels?

    Go to Inspector per below. You'll have to have a different text color as noted.
    Regards,

  • Regarding Business Graphics : Type Pie Chart

    Hello Experts,
    I am using the business graphics of type Pie Chart. I get the data properly displayed in the form a pie chart pir ture. But only thing missing here is, i dont get to see what percentage or the number of each part of pie.
    Example:
    I have a scenario where i want show the number or percentage on the parts of pie chart. It can be like a mouse over display or a plan static disply on each part of pie.
    Is this possible.. if yes .. kindly suggest.
    Thanks,
    Naresh

    Hi,
    Go through the following link.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81]
    It gives a step by step procedure for creating business graphics in WDA.
    Hope it helps.
    Thanks.

  • Drill down in pie chart using Business Graphics?

    Hi,
    I have create a pie chart using business graphics UI element. is it possible to drill down when we click on a part of pie chart?
    Please let me know how can we achieve this. Thank you.
    Regards,
    Bharat.

    I got the solution. we can identify this by using the event id property.
    Regards,
    Bharat.

  • Business Graphics:Create multiple Pie charts dynamically

    Hi Experts,
    I have a requirement to create 10 different pie chart in a view in a Grid layout.
    The charts will be created dynamically because the data will be known at runtime.
    Any type of help will be appreciated
    Regards.

    Hi,
    Here is a simple example:
    you must write this code in wdDoModfy() method, in if (firstTime){}
    in the layout there is already created one transperent container with id BG_CONTAINER
    //add a node
    IWDNodeInfo loDynNode = wdContext.getNodeInfo().addChild("DynNode", null, true, false, true, false, false, true, null, null, null);
    //add some attributes to it
              loDynNode.addAttribute("DynAttr1Str", "ddic:com.sap.dictionary.string");
              loDynNode.addAttribute("DynAttr2Int", "ddic:com.sap.dictionary.integer");
    //get the node
              IWDNode node = wdContext.getChildNode("DynNode", 0);
    //fill the node with some values
              for (int i = 0; i < 10; i ++){
                   IWDNodeElement element = node.createElement();
                   element.setAttributeValue("DynAttr1Str", "Str value " + i);
                   element.setAttributeValue("DynAttr2Int", new Integer(i));
                   // Add to the content
                   node.addElement(element);
    //get the attributes, we will use the attrinfo to bind them to the series
              IWDAttributeInfo loDynAttr1StrInfo = loDynNode.getAttribute("DynAttr1Str");
              IWDAttributeInfo loDynAttr2IntInfo = loDynNode.getAttribute("DynAttr2Int");
    //create the graphics
              IWDBusinessGraphics loGraphics = (IWDBusinessGraphics)view.createElement(IWDBusinessGraphics.class,"bg1");
    //set the type to pie
              loGraphics.setChartType(WDBusinessGraphicsType.PIE);
    //create a simple series and bind the integer attribute to it
              IWDSimpleSeries loSSeries = (IWDSimpleSeries)view.createElement(IWDSimpleSeries.class, "Series1");
              loSSeries.bindValue(loDynAttr2IntInfo);
    //create the  category and bind the string attribute to it
              IWDCategory loCategory = (IWDCategory)view.createElement(IWDCategory.class,"Category1");
              loCategory.bindDescription(loDynAttr1StrInfo);
    //add series and category
              loGraphics.addSeries(loSSeries);
              loGraphics.setCategory(loCategory);
    //I assume that there is a transperent container already created design time to put the graphics there
    //container with id BG_CONTAINER
              IWDTransparentContainer loContainer =  (IWDTransparentContainer)view.getElement("BG_CONTAINER");
    //add the graphics
              loContainer.addChild(loGraphics);
    If this is the type of graphics you need then you must simply do a for cycle and supply the graphics with the right node elements and you are ready.
    Best regards,
    Anton

  • Action on category of splitt pie chart-- business graphics

    Hi all,
    I have a requirement for creating an action on click of a category of splitt pie chart type which will change the other catagory data corresponding to that portion of chart. Is this functionality possible or not. If yes plz guide me the steps.
    Regards,
    Madhavi

    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.

  • Unable to Customize a "Pie" Business Graphics

    I have created a WD Component and below the development details:
    View : BG_CATEGORY
    UI Element:
    Business Graphics: BG
    I selected chartType as "Pie" and now trying to customize the business graphics ui element. However, every time I start Chart Designer.
    By default, the chartType in Chart Designer is "Columns". I don't understand how to resolve the issue.
    XML file generated is: cd_bg_category_bg.xml ( I don't feel name is so long )
    I tried searching a lot on google and SCN. However, Couldn't find any material on the same.
    Any help/hint is appreciated.
    Thanks,
    Preetam

    Hi Rama,
    Thanks for your reply.
    I have already tried to remove the xml files from mime repository and importing manually from PC as well as I removed it and started the customization a fresh. Nothing seems to be working.
    I am attaching two screenshots:
    1. Chart Designer (http://oi60.tinypic.com/5js21t.jpg)
    2. Browser Display screenshot (http://oi62.tinypic.com/21kk03n.jpg)
    The changes are getting reflected in Chart Designer. However, Not reflected in Browser(Run-time).
    Looking forward to some input from you.

  • Buisness graphics dynamic PIE chart event id

    HI all,
    I'm trying to create dynamic PIE chart :
    Link to sdn document *
    First I declared in the context node a table ( 0…n )
    PIE – 0…N  with attributes :
    Categorty – type string
    Series – type i
    Then I'm creating the business graphics :
    DATA:lr_graph TYPE REF TO cl_wd_business_graphics,
    lr_cat TYPE REF TO cl_wd_category,
    lr_series TYPE REF TO cl_wd_simple_series,
    lr_container TYPE REF TO cl_wd_uielement_container,
    lr_flow TYPE REF TO cl_wd_flow_data.
    lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
    lr_graph = cl_wd_business_graphics=>new_business_graphics(
    bind_series_source = 'NODE_DYN'
    chart_type = cl_wd_business_graphics=>e_chart_type-pie
    height = 340
    width = 750
    id = 'GRAPH' ).
    lr_flow = cl_wd_flow_data=>new_flow_data( element = lr_graph ).
    lr_container->add_child( lr_graph ) .
    wd_this->value_cs ?= lr_graph.
    wd_this->mr_view ?= view.
    Now I'm creating the category and series :
    wd_this->value_cs =? Lr_graph
    wd_this->mr_view ?= view.
    Series :
    DATA: lr_bgr_ss TYPE REF TO cl_wd_simple_series.
    lr_bgr_ss = cl_wd_simple_series=>new_simple_series(
    bind_value = ‘NODE_DYN.SERIES’
    label = ‘Series_1’
    event_id = ‘Series_1’
    id       = ‘Series_1’
    view = wd_this->mr_view ).
    Wd_this->value_cs->add_series( lr_bgr_ss ).
    Category :
    DATA: lr_bgr_cs TYPE REF TO cl_wd_category.
    lr_bgr_cs = cl_wd_category=>new_category(
    view = wd_this->mr_view
    event_id = ‘Series_1’
    id       = ‘Series_1’
    bind_description = 'NODE_DYN.CATEGORY').
    wd_this->value_cs->set_category( lr_bgr_cs ).
    Now I'm binding the data :
    Data : ls_pie type wd_this->element_pie.
    Data : lt_pie type table of element_pie.
    ls_pie-category = 'test_category1'.
    ls_pie-series = '34'.
    Append ls_pie to lt_pie.
    ls_pie-category = 'test_category2'.
    ls_pie-series = '73'.
    Append ls_pie to lt_pie.
    Data : lo_nd_pie type ref to if_Wd_context_node.
    Data : lo_el_pie type ref to if_wd_context_element.
    Lo_nd_pie = wd_context->get_child_node(
    Name = wd_this-> wdctx_pie.
    The above is the only way that I succeeded to create 2 categories for the pie chart but I cant isolate the event id for every category.
    I tried also to create another series with the same id and other event id but still got the same problem.
    Please suggest a solution for creating dynamic pie chart with event id for every category or series .
    Regards,
    Arie.

    Hi Rama,
    Thank you for your reply ,
    I added the BIND_EVEND_ID = 'NODE_DYN.SERIES'  and it worked fine.
    I'm trying now to get rid of the static context element.
    I've declared the following :
    DATA : NODE_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO ,
                  STRUCT_TYPE TYPE REF TO CL_ABAP_STRUCDESCR ,
                  TABLE_TYPE REF TO CL_ABAPDESCR=>COMPONENT_TABLE,
                 COMP LIKE LINE OF COMP_TAB.
    COMP-NAME = 'CATEGORY'.
    COMP_TYPE ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_NAME( 'STRING' ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'SERIES'.
    COMP_TYPE ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_NAME( 'I' ).
    APPEND COMP TO COMP_TAB.
    STRUCT_TYPE = CL_ABAP_STRUCTDESCR=>CREATE( COMP_TAB ).
    NODE_INFO = WD_CONTEXT->GET_NODE_INFO( ).
    NODE_INFO = NODE_INFO->ADD_NEW_CHILD_NODE (
    NAME = 'NODE_DYN'
    IS_MANDTORY = ABAP_FALSE
    IS_MULTIPLE = ABAP_TRUE
    STATIC_ELEMENT_RTTI = STRUCT_TYPE
    IS_STATIC = ABAP_FALSE) .
    FIELD-SYMBOLS  <TABLE> TYPE TABLE.
    FIELD-SYMBOLS  <WA> TYPE WA.
    DATA : TABLE TYPE REF TO DATA.
    DATA : WA TYPE REF TO DATA.
    CREATE DATA TABLE LIKE TABLE OF STRUCT_TYPE.
    ASSIGN TABLE->* TO TABLE.
    TODO ?? - Add data to FS <TABLE>
    *Binding :
    DATA : DYN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
    DYN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'NODE_DYN').
    DYN_NODE->BIND_TABLE( <TABLE> ).
    How do I append data to FS <table> with the relevant components ?
    Is there any  other efficient way to append the data and bind  ?
    Regards,
    Arie.

  • Overlay a graphic on a Pie Chart, & Rotate text in a Pie Chart

    Is it possible to overlay a graphic on a pie chart?
    I've tried manipulating the Wrap Inspector, but regardless, when I paste a graphic on topic it drops below the pie chart and deletes one segment of the pie.
    In a related pie chart question, is it possible to rotate the text to face into the central axis, think spokes in wheel (vs. the default horizontal). I can rotate the pie chart in about 3 dif. inspectors, but no luck here...and my texts is just a little too long to fit nicely in the default (and too hard to read if I reduce the font size).
    Thanks

    I assume you want to have a graphic that sits over the chart, and that you see the values underneath? Something like a shine, worn texture or logo?
    If you are wondering what happened to your particular 'missing slice' open the Graph inspector and select that section. Chances are you have changed the tiled image which was assigned to that particular piece of the pie chart.
    To overlay a graphic, draw a circle shape. In the graphics inspector assign an image fill to that shape. Choose tiled or scale to fit as required (a png. file with transparencies will show the underlying values, as will setting the opacity of the circle)
    Turn the wrap off for the circle (It sounds like your pie chart may be set to 'moves with text' instead of 'locked to page') And then place it overtop of the pie chart. Resize to fit. Since this is now 'locked to page' and above the pie chart, any movement of the pie chart means you will have to reorient your overlay. To avoid this, set the pie chart to Locked to Page as well.
    At this point you can set the wrap for the pie chart so the text moves around it if you like. Your overlay and the pie chart will remain in sync if they are both fixed to page.
    Regarding your text question, no. You can't set that. What you can do is use a numerical, letter or symbolic value and include a legend manually to indicate the true names of the portions using a text box.
    (I've seen someone with a pie chart whose segments were labeled with seven words, the last two of which were the only ones that changed. I suggested using the unchanging portion as the graph title and the changing portion as the individual slices. Not sure if that would apply to your project.)

  • Include a pie chart graphics in Smart Form

    hi ,
    my req. to include a pie chart graphics in Smart Form .
    my logic
    1) write a pie chat program using the data .
    2) convert into bmp and upload into se78
    3) include the pic in smart form .
    is there any other way
    can u please mention the class and method to include the picture directly .
    currently i have downloaded the pic in the local server using the
    CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
    EXPORTING
    FORMAT = 3
    WIDTH = 1000
    HEIGHT = 3000
    NAME = 'c:\s'
    IMPORTING
    CONTENT_TYPE = ct
    CONTENT_LENGTH = cl
    CONTENT = t
    RETVAL = RETVAL
    but the picture is not visible ( not in jpg format) . its not readble.
    am attaching the code .
    its urgent , please reply.
    cheers
    senthil

    Thanks problem resolved.

Maybe you are looking for

  • Oracle db wrong result on subquery error

    Hi, I work with Oracle databases up to 10g and I found an error and couldn't find any documentation about it yet. Perhaps you can help me. The error is quite easy to replicate. If you run the following query adapting the parameters you should get a r

  • Cannot download adobe application manager

    go to CC download center, click on photoshop download and it starts to download application manager and about 2/3 way through download stops  don't know why

  • Can't import CD-RWs

    I just got a IPOD Nano and imported a bunch of songs from store bought C.D.s. When I started trying to import my CD-Rs and CD-RWs nothing would happen. I couldn't even manually import them. They would import to my comp. but not to the IPOD itself. I

  • Is SSAS the right tool to replace SAS Enterprise Guide?

    I am in the process of studying the feasibility of replacing one of our custom built SAS Data Warehouse with Microsoft BI/DW stack. I have one specific question that I hope someone here who knows both SSAS and SAS Enterprise Guide can tell me. Featur

  • Re: UEFI GOP BIOS for MSI GTX 680 2GD5/OC 08-01-15

    Next time don't resurrect old topics and/or start multiple posts about the same issue please. The latest UEFI/GOP vb...