Coloumn Graph with Business Graphics
Hi
1) I am using WebDynpro business graphics stacked column graph, in that i need to show Label values. I am getting my Label value but and on the top of the columns i am getting 0 number.
I want to remove the 0 number.
I set the Defaultseries format value is 0 and even i kept empty i am getting the 0 value on the top of the columns.
Please can one suggest me what property i need to set
2) I am using Lines graph. Is it possible to gives the hyperlinks on the points.If we click on the points based on the parameter it as to show other result.
How can i give the links to the lines graph points.
Please any one help on my problems.
Hi Vani,
IPrivateGanttTestView.ISeriesNode seriesNode = wdContext.nodeSeries();
for (int seriesIndex = 0; seriesIndex < timeValues.length; ++seriesIndex)
IPrivateGanttTestView.ISeriesElement
seriesElement = seriesNode.createSeriesElement();
seriesNode.addElement(seriesElement);
// set series attributes (...)
IPrivateGanttTestView.IPointNode pointNode = seriesElement.nodePoint();
// loop over points
for (int pointIndex = 0; pointIndex < timeValues[seriesIndex].length;
++pointIndex)
IPrivateGanttTestView.IPointElement
pointElement = pointNode.createPointElement();
pointNode.addElement(pointElement);
pointElement.setStartValue(timeValues[seriesIndex][pointIndex][0]);
pointElement.setEndValue(timeValues[seriesIndex][pointIndex][1]);
pointElement.setCuId(pointCustomizing[seriesIndex][pointIndex]);
pointElement.setLabel(pointLabels[seriesIndex][pointIndex]);
pointElement.setToolTip("<put your the test here>");
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/84/d33481f0bd794ba9b9ef8f4b5fa73b/frameset.htm">Code Example for Displaying a Gantt Chart</a>
Regards,
Mithu
Similar Messages
-
Click-enable Gantt chart with Business Graphic
Hi all,
I know that it's possible to create a gantt char with Business Graphic. But can you tell me if it's possible to add events to the elements of the graphic?
Or maybe there are other types of object that allow this.
In bsp there is the phtmlb:gantchart, is there a java package phtmlb?
Thanks and Best Regards,
Paulo RuivoHi Paulo,
U have onAction event in view designer.Also refer this
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ed/258841a79f1609e10000000a155106/frameset.htm">Business Graphics Events</a>
Hope it helps,
Regards,
Nagarajan. -
Problem with Business Graphics
Hai,
I am using Business graphics , I Used to display the simple series in a <b>coloumns</b> graph.
I want to display the total amount of the graph in top of every coloumn..
I want to display the value of the coloumn at the top of the coloumn.
i need the above graph as
3
2
1
|----
How to display the values in graph like this.....
regards,
Message was edited by: Naga Raju Meesalahai,
my context structure is like this
+ABC
series2(double)
series3(double)
series4(double)
series5(double)
series6(double)
My UIElement Structuer
+BG1
Category1
SimpleSeries2
SimpleSeries3
SimpleSeries4
SimpleSeries5
SimpleSeries6
code is like this..
IPrivateFBGAppView.IAbcNode aNode = wdContext.nodeAbc();
IPrivateBGAppView.IAbcElement elm;
elm = wdContext.createAbcElement();
elm.setCategoryText("Cat");
elm.setSeries2(32);
elm.setSeries3(23);
elm.setSeries4(45);
elm.setSeries5(32);
elm.setSeries6(18);
al.add(elm);
regards,
Message was edited by: Naga Raju Meesala -
ALV Table with Business Graphics
Hi All,
In one of my Scenarios, I have to display the Employee details in a table with the Business Graphics. I have to do this with alv.As I am new to alv so if any one is having any tutorials on this topic or any application according to it then tell it along with description.
Thanking you all in advance.Hi,
This is very simple to get the ALV table with graph.
check the below code..
l_value = l_ref_interfacecontroller->get_model(
call this method in your code you will get table with graph.
l_value->if_salv_wd_table_settings~set_display_as(
value = '02'
Thanks
Suman
Edited by: suman kumar chinnam on Sep 17, 2008 9:06 AM -
Problem with Business Graphic:
Hi Everybody!
I am working with a UI control Business Graphic in WebDynpro Java,
I need to change the text of the legend, and is taking an automatic value, what is the property in the Chart Designer where I can adjust this?
Thanks in advance for your help.
Edited by: Briger Palacios on Jul 6, 2011 11:16 PMHi Briger,
For Changing ur own legend , just write the label property of "SimpleSeries" ,which comes under your "BusinessGraphics" .
As many simple series will be there, that much no of legend is require, so just write your label of each simple series.
if any doubt , plz let me knw.
Regards
Brajesh Kumar -
Graphs using business graphics
Hi all,
I am trying to generate graphs in webdnpro using business graphics but I want to view those graphs in Adobe. Is that possible?
What is the place where these graphs which are generated in NWDS are saved?what if I can pick the graphs geerated there and then push them into adobe somehow?
Please help me out.
Thanks and reagards,
GauravHi Gaurav,
To create business graphics dynamically, you can do like this
[if(firstTime){
//Create as many as you want
IWDBusinessGraphics bg1 = (IWDBusinessGraphics) view.createElement(IWDBusinessGraphics.class,"bg1");
// set type and other properties
bg1.setChartType(WDBusinessGraphicsType.BARS);
But this is for first time when you open the view. If you want to change the number of graphs displayed at runtime. Access the graphs runtime and set visibility
//access them again
IWDBusinessGraphics bg1_mdfy =(IWDBusinessGraphics) view.getElement("bg1");
//if you want to hide
bg1_mdfy.setVisible(WDVisibility.NONE);
regards,
Siva -
Hi,
I have created a Webdynpro Application with Business Graphics. I am trying to create a 3D display of Bar charts which is working fine with developer user id. When the same application is executed by an End User it displays in 2D. Can some one suggest how to handle this?
Thanks in Advance.
Regards,
Sridhar M RHi Gayathri,
Please cehck this..
Different color in business graphics
Unable to change graph color
Cheers,
Kris. -
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 -
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 HeilmanHi 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 -
Business Graphics in ADS doesn't display on subsequent calls
We have this bizarre problem with Business Graphics in ADS.
We are embedding Business Graphics in an Adobe form and we find that the Business Graphics will not be displayed on second (subsequent) call(s) to the ADS, which can be simulated by clicking on the Refresh button in the web browser.
The Business Graphics will only be displayed in the first call to the ADS.
Has anyone encountered this?the problem is the URL that does not contain the jsessionId as during the second call. The browser has already a cookie and so the encodeRedirectUrl-method does not add the parameter.
You can enforce this with the following call:
String url = "forceEncoding:" + source.getUrl();
urlToBeUsed = ((IWebContextAdapter)WDWebContextAdapter.
getWebContextAdapter()).encodeRedirectURL(url); -
Webinar: Introduction to Web Dynpro Business Graphics
<b>SAP NetWeaver Know-How Network Webinar:
Introduction to Web Dynpro Business Graphics
Wednesday 15 September 2004
11 a.m. EDT</b>
On Wednesday 15 September, Jeff Gebo hosts the webinar titled <b>Introduction to Web Dynpro Business Graphics</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
Heres how Jeff describes his webinar presentation:
Learn how to bring your Web Dynpro Applications to life with business graphics. Business graphics can be generated by Internet Graphics Services (IGS) which is included in the 6.40 SAP Web AS. Get an overview of the IGS architecture, the Web Dynpro Business Graphics API, and the features of the IGS. Join this webinar and then go and impress your boss with the incredible business graphics that you will be able to create!"
SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
<b>How to Participate</b>
(Please go to the SDN Events page to see the article and download the PDF presentation)
Dial-in Information:
Date: Wednesday 15 September 2004
Time: 11 a.m. EDT
Within the U.S., call: +1.888.428.4473
Outside the U.S., call: +1.651.291.0618
Password: NetWeaver04
WebEx Information:
Topic: SAP NetWeaver Know-How Network
Date: Wednesday 15 September 2004
Time: 11 a.m. EDT
Meeting Number: 742391500
Meeting Password: netweaver04 (lowercase)
WebEx Link: sap.webex.com
Replay Information:
A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code 720158.
Toll-free: +1.800.475.6701
International: +1.320.365.3844
<b>About the SAP NetWeaver Know-How Webinar Series</b>
The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
<b>Disclaimer</b>
SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.Hi,
Go thru..
What is Webdynpro?
What is Web Dynpro?
Webdynpro Sample Applications and Tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
SAP WebAs Samples And tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143 [original link is broken]
Basis Webdynpro tutorials....
http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm
Web Dynpro Sample Applications and Tutorials:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
Check the following thread u can get lot of materials,
WeB Dynpro Documents
Refer these linkshttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
Why WebDynpro ?
Why WebDynpro ?
Why webdynpro and not BSP or JSP?
Why webdynpro and not BSP or JSP?BSP to WEB Dynpro
BSP to WEB Dynpro
Benifits of using Webdynpro Benifits of using
Webdynpro
Java vs. ABAP WEbDynpro Java vs.
WebDynpro ABAP
regarding Java related webdynpro
Regarding Java related Web Dynpro vs. Struts - a few questions
Web Dynpro vs. Struts - a few What kind of applications are being developed with Web Dynpro?
What kind of applications are being developed with Web Dynpro?
http://www.sappro.com/downloads/OptionComparison.pdf
Hop this will helpful for u..
Urs GS -
Problem with Stacked Columns in Business Graphics
Hi,
Has anyone used the stacked columns chart type in business graphics? Am facing a problem with this.
I am using the SimpleGraphics example demo with 2 dataseries, the values ranging from 0-10. It works fine if the chart type is Columns (this is default). When I change the chart type to stacked_columns, the graph goes for a toss. The y-axis range automatically changes to 0-1 (values as 0, 0.2, 0.4 ... 1.0) and it does not display stacked columns as expected.
Is there any specific property(s) that need to be set for this chart type?
Appreciate any quick response.
cheers,
VittalHi friend,
See the link below it is having the solution of hiding the columns in smart forms
Hide table columns in smart form?
Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
I think this will solve your issue if you still have queries please revert back to me i will help you.
Thanks,
Sri Hari -
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,
OmriHi,
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 -
Business Graphics like Graph, charts.
Hi,
can you provide me with some materials or any video that can help me creating business graphs like charts, graphs, etc dynamically. i am working on analyticals, so you can try and understand the scope.
Thanks
Piyush DeoraHi,
Use the following document to create Business Graphics in WDA.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
For further information, have a look at the WDP component WDR_TEST_EVENTS, views BG*.
Also go through the Business Graphics UI elements in the Reference section of the WDP Documentation.
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
reward points if helpful.
Edited by: Kranthi Gurram on May 20, 2008 9:51 AM -
Help with Capturing Business Graphics data point
Hi,
I created a BusinessGraphics UI element with SimpleSeries and assigned eventId for the categories and data points. I am able to get the series that is clicked through the event but I would like to know which point (value) is clicked as well.
The steps I followed are
1. Created BG UI element, category and SimpleSeries
2. Assigned eventIDs
3. Created an action class and mapped it to the UI element
4. Code in wdDoModifyView is
if (firstTime)
IWDBusinessGraphics chart = (IWDBusinessGraphics) view.getElement("bgCSB");
chart.mappingOfOnAction().addSourceMapping("id", "pointID");
5. Implemented action class with one parameter (pointID) and able to get the value.
Can someone help me to get the data point values from the user click.
Appreciate your help.
Thanks,
KalyanYou have done everything right, except I don't think you can do this with simple series.
Create something like this:
in the context:
series-> (this node can be with 1..1 cardinality and 1..1 selection)
points->
label (string)
value (int)
pointId (string)
in the business graphics:
create one series (not simple one) and add to it one point of numeric type.
in the properties of business graphics bind seriesSource to series context.
Series: bined poitSource to series.points
Series_points: bind eventId to series.points.pointId
bind label to series.points.label
bind valueSource to series.points
Values (these are the numeric values): bind value to series.points.value
in wdDoModify method do the same thing as you have done already.
Now, when you click on a point you will receive in your event in pointId variable the pointId context attribute value.
Best regards,
Anton
Maybe you are looking for
-
How to copy paste a office document from one folder to another using J2SE
HI! How can i copy a document file(.rtf,.docx.pdf) from one folder to another folder by executing Java code? Help needed
-
Safari 4 tabs do not display unread counts for GMail and Google Reader
To reproduce this, do the following: 1. Create a bookmark for either GMail or Google Reader 2. Click on the bookmark under Safari to load either site (make sure it has at least on unread item) The text in the tab title will not display the unread cou
-
Allow user to enter null parameter?
Post Author: dmcheng CA Forum: General Hello. I'm using CRXI R2. I have set some parameters on a report that are optional for the user, i.e. she do not have to enter values for these fields. However, when the user runs the report, the parameter pr
-
E72: Suggestions for improvements in future softwa...
Hi, I've earlier posted two questions about the issues below. Would also like to push for theese, for me, very important improvements in a future E72 software release: Improve the search, when dialing from stand by mode (home screen), to also include
-
Hi, i have internal table like that and i wont to do pivot like e.g. . i reward pernr orgeh sick_days sum 123 5555 3 7 123 5555 4 7 456 6666 7