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

Similar Messages

  • How to use series in business graphic ui element

    Hi All,
    How to use the series in business graphic ui element? my requirement is i have to display the sales in selected months in graph(these values dont know at design time).
    Regards
    Srikanth

    Hi,
    Use the dynamic node  and bind this node to the BG source node and series nodes.
    Create a node and bind this node to the BG source and the value that you want to shown in series has to be bound to that attribute of the node and similarly with the category.
    Check out for the dynamic node creation and bind this node to the BG.
    Regards,
    Lekha.

  • 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 ui element

    Hi,
    Please can you tell,
    How to work with Business Graphics UI Element with Brief steps
    Regards,
    Boots.

    Hi,
    Refer pdf at https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/08b6eb35637a44830b9e6df22987aa/frameset.htm (SAP Library)
    Kind Regards,
    Nitin
    Edited by: Nitin Jain on Feb 18, 2009 12:09 PM

  • Business Graphics UI element Time_Scatter

    Hi,
       Can anybody provide a example for implementing Business Graphics UI element of chart type time_Scatter.
    Regards,
    Vaibhav

    Hi VaiBhav,
    Please go through these links,
    http://help.sap.com/saphelp_nw04s/helpdata/en/ed/258841a79f1609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/18/d4d43fb9490c65e10000000a114b1d/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/1cd93f5e0f9015e10000000a155106/frameset.htm
    /people/perumal.kanthan/blog/2005/04/07/business-graphics-real-time-scenariospart-ii
    Regards,
    Ramganesan K.

  • Business Graphics UI element Column Width

    Hi Experts,
    I am using business graphics UI element in my Web Dynpro application to display the chart in columns .
    I am able to display the chart properly based on the node data.
    But the issue that I am facing is that when the node data is less, the column in the chart is getting expanded(column width is increased) as I am not able to set the width of the column dynamically based on the node size.
    The column width keeps on changing based on the node size.
    Is there any possible way to set the column width dynamically or fix the column width irrespective of the node size?
    Best Regards,
    Anurag

    Hi Guys,
    Is there any update on this?
    Best Regards,
    Anurag

  • 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

  • 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

  • Unable to set fontFamily property in Business Graphics UI Element?

    Dear All,
    I was trying to set the fontFamily property of BusinessGraphics(BG) UI Element. After setting the fontFamily property for BG UI Element, this property is not getting reflected in the chart in Portal but it is reflected under Chart designer. Is there something which is overwriting the user defined setting for fontFamily? and I am not using any URL for IGS.
    On the other other UI Element properties like ChartType and dimention are reflected in both Chart Designer and Portal.
    Please respond at ur earliest.
    Thanks in advance.
    Regards,
    Nittin
    Edited by: Nittin Garg on Jun 18, 2008 11:33 AM

    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

  • Team Calendar: Business graphic not showing the correct language

    Hello,
    We are using the Team Calendar application for two different languages: Spanish and catalan.
    When spanish locale ('ES') is set in the business graphic the weekly day short descriptions are correct shown in spanish "Lu", "Ma", "Mi",...
    Althought when catalan locale ('CA') is set, the business graphic shows the days in english not in catalan "Mon", "Tue", "Wed"...
    Did anyone has a similar problem?
    Any idea on how to improve the business graphic to accept more locales?
    Thanks,
    Gabriel.

    Hi,
    the Catalan locale will be added to the forthcoming IGS 7.00 patch, see note 1105634.
    If you use IGS 6.40 you have to install patch 20.
    Regards, Kai

  • 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

  • Dynamic title in Business Graphics

    Hi to all!
    I'm working with a Business Graphics and I'd like a title in the final rendered graphic. The problem is that the text I want to show is not static, it's the name of the person who is using the application.
    The question is: Can I bind the title of the graphic to a context attribute? or is it possible to pass parameters to the graphic?
    Thanks a lot.

    Hi,
    We have achieved this thru....
    1. If you navigate to src folder of your project... src\<package structure>...
    in that there will be a file <viewname>.wdview file. Where <viewname> referes to the name of the view in which business graphics UI element is used.
    2. Open that file with notepad, and you can see the structure of BusinessGrpahics UI element specified in xml format. In that copy what ever between <BusinessGraphics.CustomizingXML>...</BusinessGraphics.CustomizingXML> including these tags also.
    3. In the wdModifyView method of view name obtain the Business Graphics UI element and set the Direct Customizing to the above copied xml(as a string)
    String customXML = "<BusinessGraphics.CustomizingXML>....</BusinessGraphics.CustomizingXML>";
    IWDBusinessGraphics bg = (IWDBusinessGraphics)view.getElement("<business graphics UI element ID>");
    bg.setDirectCustomizing(customXML);
    4. In that xml string, the value under <Elements> .. <ChartElements> .. <Title> .. <caption> points to the title. you can replace that with your dynamic value.
    -Aarthi

  • Business Graphics : Display values for simple series ?

    Hi ,
    I have a some 5 simple series per category.. I am using a column chart . I would like to display the numerical values on top of each of the columns, ? How can i do it ?
    And is there any proper documentation on Business Graphics UI element other than the help.sap and weblogs on the sametopic ?
    Thanks and Regards
    Bharathwaj

    Hi ,
    Thanks for the answer.. By trial and error I had figured out the values.. but am stuck in another problem..
    I have two points created in the chart designer.. each one has its own color.. Now am using this to change the color of a single series .. depending on some value.. point 1 or point 2 will be selected..
    In this scenario ,my legend still shows me the old ones i.e just an yellow icon..
    If i add more info and captions.. for points.. I get .. the proper legend.. But the default legend set also exists. Any ideas on how to remove this .. or
    to display the proper legend in some other way..
    Thanks and Regards
    Bharathwaj..

  • Business Graphics- tooltip with series values

    Hi all,
    I'm using the Business Graphics UI element.
    I have a simple series and I want to show the series' values in the tooltip of the series.
    However, the tooltip property is not bindable for simple series.
    I tried using Series (not simple series), the tooltip works but I get multiple values for each category.
    See attached snapshot (I want the graph to look like the left graph but with tooltips...)
    http://img70.imageshack.us/img70/2977/businessgraphicsop4.jpg
    Basically, I need to see the values in a tooltip on a category based chart.
    Is it possible to create category based chart by using Series and not SimpleSeries?
    How do I solve it?
    Thanks,
    Omri

    Hi,
    I've change the context a little and now it's looks like this:
    Context:
    Category (Node, singleton)
    --> Series (Node, non singleton)
    > value (Value attribute)
    -->Text (Value attribute)
    UI: (UI Element, property, propertyValue)
    Business Grpahics -- seriesSource -- Category
    --Category -- description -- Category.txt
    --Series -- label -- Category.txt
    --Series -- pointSource -- Category.Series
    SeriesPoint -- tooltip -- Category.Series.Value
    SeriesPoint -- valueSource -- Category
    NumericValue -- value -- Category.Series.Value
    Thanks,
    Omri

  • Customizing XML File in Business Graphics does'nt work for End Users

    Hi Experts,
    I have created an application using business graphic UI element for displaying graphs. I have some Customizing file settings done for it using Edit Customizing for its layout. As per my requirement, it works fine for me and other Developers. But when tested by End Users, that customizing file does'nt work. It shows a default graph's layout and XML file does'nt affect its layout.
    Can anybody help me with this Issue. Please reply soon.
    Thanks,
    Runal

    I resolved this issue by implementing SAP Note 1294871
    Thanks,
    Runal

Maybe you are looking for

  • Netting the open quantity

    Hi Guys,              I have PO quantity(EKPO-MENGE)  and goods receipt quantity(MSEG-ERFMG). Here i want to calculate the open PO quantity which is  EKPO-MENGE - MSEG-ERFMG .But here if  multiple material docements r getting created for the same for

  • In List View, how can I move an item from within a subfolder up to the top level of the window's parent folder?

    Up 'til now, from System 7.1 to Tiger-I skipped Leopard-you simply dragged the item onto the folder window's titlebar (since that folder's icon was, naturally, not in its own window) and BINGO! there it was, at the top level. Nothing I can think to d

  • Video/Audio cut out

    Hi there, I am trying to edit a video file that is in .mov format ( see bellow a screen shot of the original file ): It says it has 01:11:31 duration, but when i enter it in Premier it show's up only to 01:08:10 ( see bellow ), so the video and audio

  • XSLT Namespaces URGENT

    Hello everyone: Can anyone give a brief description of the precautions to take when creating xsl's that handle xml documents with namespaces. Do translets handle namespaces? There is a code sample for my problem a couple of topics below. Thanks in ad

  • PI - Posting Block or Freeze Book Inventory

    While generating the PI document, there are check boxes for 1)posting block & 2)freeze book inventory. I would like to know under what circumstances would we have both check boxes checked. Some business example will help my understanding of usage. Th