IGS, Business Graphics , LineGraphic, Properties, Color

I have a question regarding the configuration of BusinessGraphics from my Java WebDynpo View.
How can I set the line color programmatically? What I have found is that the Chart Designer provides me a choice for the "Color palette" but I would like to set the line colors individually (depending on the values).
Any ideas?
Thanks in advance,
Peter

you start the chart Designer.
Select Series right click "add Series"
customize your series and rename it. example s1Test.
This name is your Id.
((IWDSimpleSeries) myBG1.getSeries(0)).setCustomizingID("s1Test");
So you can choose which CustomizingSeries you want to set to your series dependent on your algorithm

Similar Messages

  • Business Graphics: Plot Area Coloring

    experts!
    How do business graphics customization works?  (2004s)
    requirement: A column graph and a parabolic graph should be shown in a single graph. The background for this graph should be colored to show a range, say acceptable values in green and others in red.
    thanks,
    nikhil

    Hi Nikhil,
    Check the following link on Chart Designer by SAP
    http://help.sap.com/saphelp_nw70/helpdata/EN/86/243f403f0a9354e10000000a155106/frameset.htm
    I hope this will be helpful to you

  • Setting series color in the Business Graphics UI element

    Hi all,
    I'm using the Business Graphics UI element in my Web Dynpro application.
    I set the color for various properties using chart designer, then I add the generated XML in the doModifyView method: bg.setDirectCustomizing(xml file) and most of it works.
    However, when I change the series' color, I don't see any change in the xml file (see snapshot).
    http://img90.imageshack.us/my.php?image=graphjy1.jpg
    My xml starts with <SAPChartCustomizing> and ends with </SAPChartCustomizing>.
    How can I set the series' color using the custom xml file?
    Thanks,
    Omri

    Hi,
    as the connection between your data and the customizing settings works via IDs you have to make sure that you set exactly the same ID for a data series as defined in the chart designer.
    In case that you use point customizing make sure that you do not set an ID for the points of your series. Instead set the series customizing ID for the series only! Keep in mind that point customizing always overwrites series customizing if both are defined.
    Regards, Kai

  • How can i do different colors for the category in business graphics

    Hi everybody,
    i have a business graphics and i need different colors for the category. my business graphics is a gantt.
    for example
    category1
    category2
    category2
    and so on.
    Is there a solution for this? How can i do it?
    Best regards,
    Markus

    Sorry.
    In my opinion, this requirement can not be resolved.
    Generally, we use Business Graphic with Category, we just follow:
    DATA:lr_graph TYPE REF TO cl_wd_business_graphics.
    lr_graph = cl_wd_business_graphics=>new_business_graphics(
        bind_series_source = 'NODE_DYN'
        chart_type = cl_wd_business_graphics=>e_chart_type-BARS
        height = 340
        width = 750
    *     BIND_TOOLTIP = 'GRAPH.TT'
        id = 'GRAPH' ).
    DATA: lr_bgr_cs TYPE REF TO cl_wd_category.
    lr_bgr_cs = cl_wd_category=>new_category(
    view = wd_this->mr_view
    bind_description = 'NODE_DYN.CATEGORY').
    lr_graph->set_category( lr_bgr_cs ).
    If we go to SE24, to check  the class "CL_WD_CATEGORY", we cannot find any method  or attribute about how to manipulate  the "Category Font Color"...
    Maybe,any other expert can give you fantastic solution, hope. Best wishes.

  • Business Graphics -- IGS URL

    Hi Experts,
    I have a query related to Business Graphics UI setting for IGS URL. currently we have developed an application which uses a Business Graphics UI element.
    This application is developed in our organization and hence we have made the necessary settings for the UI. i.e the IGS URL.
    During development, we have set the URL of our development server for the IGS URL property of the Business Graphics UI.
    But my question is, tomorrow if we deploy our application on any of the customer's location which is outside our organization's infrastructure (Server), will the application render the graph properly if we just open the IGS port or will it still try to connect to the URL which we have assigned for the IGS URL property of the UI element?
    Any suggestions on this would be helpful to avoid further problems.
    Regards,
    Poojith MV
    Edited by: Poojith M V on Apr 20, 2010 7:31 AM

    http://help.sap.com/saphelp_nw70/helpdata/en/46/8cb295e6390e9ce10000000a155369/frameset.htm
    Armin

  • Business Graphics(IGS) Application Killing memory

    How much memory should kill (In the Server)for a Webdynpro ABAP business graphics application(IGS).
    Someone developed one Business Graphics application and it is taking 130305127KB memory.Basis is saying for this Server is not behaving properly.
    I want to know do you have any idea regarding this

    http://help.sap.com/saphelp_nw70/helpdata/en/46/8cb295e6390e9ce10000000a155369/frameset.htm
    Armin

  • IGS issue , not showing background color.

    Hello ,
    I have bulid a dashborad on which we are showing businees graphic as speedometer.
    Now problem is  i want to change the background color where my speedometer is placed..
    process i followed is :
    right clicked on Business graphic element and clicked on Edit Customizing.
    than in the overview tab i choose "Background" and in the Broder properties i have given different colors code.
    But when i run my application no color gets display....
    Few plp suggested to add some tag in the IGS.XML , i dont know what to add in it..
    this IGS basis people took from the server and gave to us ...
      <?xml version="1.0" ?>
      <!DOCTYPE kernelPatches (View Source for full doctype...)>
    - <kernelPatches name="BC-FES-IGS" vendor="sap.com" sequenceFile="IgsTasksSequence.xml" sequence="process">
    - <os code="*">
    - <cmdVersion extractor="SAPCAR" archiveId="IGS" cmd="igswd">
      <arg value="-version" />
      </cmdVersion>
      <sar name="IGS.SAR" pattern="IGS.*\.SAR" dir="igs" id="IGS" manifest="igsmanifest.mf" opCode="X" required="Y" />
      <sar name="SAPCAR" opCode="C" required="N" dir="igs" />
      </os>
    - <os code="WIN">
    - <cmdVersion extractor="SAPCAR.EXE" archiveId="IGS_WIN" cmd="igswd">
      <arg value="-version" />
      </cmdVersion>
      <sar name="IGS.SAR" pattern="IGS.*\.SAR" dir="igs" id="IGS_WIN" manifest="igsmanifest.mf" opCode="X" required="Y" />
      <sar name="SAPCAR.EXE" opCode="C" required="N" dir="igs" />
      </os>
    - <os code="OS4">
    - <cmdVersion extractor="SAPCAR" archiveId="IGS_OS4" cmd="igswd">
      <arg value="-version" />
      </cmdVersion>
      <sar name="IGS.SAR" pattern="IGS.*\.SAR" dir="igs" id="IGS_OS4" manifest="igsmanifest.mf" opCode="X" required="Y" />
      <sar name="SAPCAR" opCode="C" required="N" dir="igs" />
      </os>
      </kernelPatches>

    Also somtimes when i click on Edit customizing it saying
    Information message as
    Object 'D6RX8LV20IZIFHIS257Y3W2LS.xml' not found
    as part of address
    'sap/bc/webdynpro/zwdsmf_dashboard//D6RX8LV20IZIFH
    I'
    Please help.

  • Business Graphic UI Element - Major Ticks Property

    Dear All,
    We have a requirement to modify the existing Business Graphic UI element (Line Graph).
    We are not able to increase the major ticks property of Business Graphic UI element to 21.
    Are there any constraints on this property ?
    Thanks.

    Hi,
    Do you mean the properties of the ValueAxis-Line, Number = 21 and Major tick calculation = Manual ticks?
    I do not see a restriction. Everything works fine.
    Make sure to use the latest IGS!
    Regards, Kai

  • Business Graphics Problem

    I am working with business graphics in WebDynpro.  I have created an application step by step with a tutorial I found in NWDS.  When I run it,  it gives a page with a colorful image saying "Graphics Rendering Problem".  I also ran a sample WebDynpro application which has been loaded to our engine called  "SimpleGraphics" which does the same thing.  Do I have to set something up in order to use Business graphics.  I have looked over the IGS, and it looks to be running.  Any help would be appreciated.  Thanks.
    Regards,
    Rich Heilman

    Hi Rich
    If that is your igs server URL then you need to use the same.
    In the tree on the left select Server -> Services -> Configuration Adapter
    On the right, expand Configurations -> webdynpro -> sap.com -> tcwddispwda
    Click the view/edit button
    In the tree double-click Propertysheet default
    Click IGSUrl in the popup window
    In the field Custom: enter <your IGSUrl>
    Restart the J2EE engine
    Regards
    NagaKishore V

  • Customizing Property of Business Graphics UI Element

    Hello Web DynPro Developers,
    I'm trying to implement a dynamicly created Business Graphic. In order to set the properties for the "Series" (which will normaly be set through the Chart Designer) i try to deliver a XML Customizing File with the customizing properties.
    The API Documentation says that this property requieres a  URL which points to a valid XML file.
    After setting the Customizing property to a URL with an XML Configuration, the J2EE Engine does not try to retrieve the XML document (traffic watch).
    Is this a not implemented feature? How to set the configuration of Business Graphic dynamically?

    Dear Kai,
    Thanks a lot for your response.
    1. According to your suggestion (note 531668), it has been found that XMLCHART is already installed on our Integrated IGS server.
    2. According to note 1028690, it has been found that "IGS 6.40 with patch level 19 or higher" should be available, but in our case we have "IGS 6.40 with patch level 16". Now what I would like to inquire is that does upgradation have any side effects on server?
    For your information I would like to clear you that I want to use Vrinda font (its a standard font), but at present font shown in the chart is Arial.
    Do we need to install some other Interpreter (eg. GFWCHART)? or some thing else is required to show the desired standard font?
    Regards,
    Nittin

  • Business Graphics in PDF

    Dear Experts,
    Please provide me with documents for generating Business graphics in PDF.
    Thanks in advance.
    Regards,
    Soumyadeep.

    Hi,
    You need to create a UI element of the type BusinessGraphics. You then have to insert it in the view. Proceed as follows:
           1.      To edit the view click the view with the secondary mouse button and choose Edit.
           2.      In the Outline window click the default container RootUIElementContainer with the secondary mouse button and choose Insert Child.
           3.      Enter the ID BusinessGraphic in the field Name.
           4.      Select the type BusinessGraphics.
           5.      Choose Finish.
    Finally the URL of the used Internet Graphics Server (IGS) must be defined for the inserted BusinessGraphics-UI-Element.
           6.      In the Outline view select the node BusinessGraphic [BusinessGraphics u2013 Child].
           7.      In the Properties view select the line Elementproperties of BusinessGraphics u2013 igsUrl and enter the URL of the used Internet Graphics Server. 
    Refer this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/08b6eb35637a44830b9e6df22987aa/frameset.htm
    Regards,
    Sunaina Reddy T

  • Business Graphic show elements sorted

    Hi ,
    i use a business graphic UI Element to display some results.
    Categorie -String (Projectname)
    1 Serie -Integer (Changelists sum)
    How could i show these elements sorted on diagram? I have sorted the elements by using the function node.sort(Comparator), but the Business Graphic UI Element seems not to match it.
    my Comparator class:
    private static final  Comparator DEFAULT = new  Comparator(){
         public int compare(Object o1, Object o2) {
         if (o1 == null && o2 == null)
                                  return 0;
         if (o1 == null)
                                  return -1;
         if (o2 == null)
         return +1;
    IPrivateBusinessGraphics.ICategoriesPieChartElement     
    o1_new =(IPrivateBusinessGraphics.ICategoriesPieChartElement)o1;
    IPrivateBusinessGraphics.ICategoriesPieChartElement o2_new=(IPrivateBusinessGraphics.ICategoriesPieChartElement)o2;
    if(o1_new.getChangeListsSum()>o2_new.getChangeListsSum()){
    return 1;
    else if(o1_new.getChangeListsSum()<o2_new.getChangeListsSum()){
    return -1;
    else{
    return 0;
    Could you help please to solve this problem?
    Thank you in advance!
    Best Regards,
    Daria

    use the  following steps...
    1. open that chart editor using Edit Customizing Option.
    2. from the Overview select Series node. Right click on it and Add Series.
    3. Series1 will be added. now select Series1 and in the below section go to Area Properties node.
    4. expand it and choose the color you want for the first series.
    5. similarly add Series2 with teh desired color.
    6. then go to the view designer after saving the required changes.
    7. go to the properties of simpleseries1 and in customizingID field write 'Series1'.
    8. similarly fill other simpleseries also with the respective values.
    save it
    activate and its done.
    thanks
    sarbjeet singh
    Edited by: sarbjeet  singh on Apr 28, 2011 3:58 PM

  • Edit customisation in Business graphics is not working

    Hi Experts,
    I created business graphic UI element of chart type "Speedo meter" . I am trying to chnage the colors of the chart by using
    'EDIT CUSTOMISATION' .When i change the clors in preview colors are chnaging but when i test my application it is nit showing the whatever i did in edit customisation ( ni color change ) . Please tell me do i need to configure anything ?
    Thanks in advance,
    Setu

    Hi,
    please refer below link .
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81&overridelayout=true]
    Regards,
    Priya

  • 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

  • Test of Web Dynpro Event Handling : GeoMap business graphics

    Hy guru's, i have this problem: on Test of Web Dynpro Event Handling page i tried to open the GeoMap web dynpro on Business Graphics section but i received this error:
    The URL http://.../sap/bc/webdynpro/sap/wdr_test_events/ was not called due to an error.
    Note
    The following error text was processed in the system BI7 : Exception condition "COMMUNICATION_ERROR" raised.
    The error occurred on the application server bi7-saplab_BI7_08 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_GIS_VIEW~UPDATE of program CL_GIS_VIEW_IGS===============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LBUSINESS_GRAPHICS======CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system BI7 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server bi7-saplab_BI7_08 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server bi7-saplab_BI7_08 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 100 -u: AMARAVIGLIA -l: E -s: BI7 -i: bi7-saplab_BI7_08 -w: 0 -d: 20071119 -t: 232916 -v: RABAX_STATE -e: RAISE_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Could you help me?
    Thank's a lot
    Sincerely yours
    Andrea Maraviglia

    Hi,
    did you install the IGS (see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/37/268841a79f1609e10000000a155106/frameset.htm">documentation</a>) and check if SAP note 1108034 helps?
    Regards, Heidi

Maybe you are looking for