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
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 - 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,
GaryI 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: 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, DmitryHi,
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 -
Hi,
How to display the value of each pie in a pie chart in the form of percentage?
Regards,
Nikitahttp://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 -
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 VHi
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 -
I want to display total count on the top of a Column in business graphics
Hi All ,
How can I display total count of the column say for example no. of employees in a series of column chart type in business graphics.
Any type of help would be much appreciated.
Thanks
UdayHi Vishweshwara,
following is the code i wrote. please check the correctness of the code.
int seriescount = 0;
for(int i=0;i<nodesize;i++){
IGraphDataElement catele = gdNode.createGraphDataElement();
switch(i){
case 0:
if(wdContext.currentContextElement().getQ().equals("Q1")){
catele.setCategory("Q1");
catele.setKRA_Series1(Q1_KRA);
catele.setApp_Pln_Series2(Q1_AP);
catele.setRev_App_Series3(Q1_RA);
catele.setEnd_Rev_Series4(Q1_ERP);
catele.setApp_Procss_Series5(Q1_AIP);
catele.setApp_overall_Series6(Q1_AOP);
seriescount = seriescount+1; break;}
break;
case 1:
if(wdContext.currentContextElement().getQ().equals("Q2")){
catele.setCategory("Q2");
catele.setKRA_Series1(Q2_KRA);
catele.setApp_Pln_Series2(Q2_AP);
catele.setRev_App_Series3(Q2_RA);
catele.setEnd_Rev_Series4(Q2_ERP);
catele.setApp_Procss_Series5(Q2_AIP);
catele.setApp_overall_Series6(Q2_AOP);
seriescount = seriescount+1; break; }
break;
case 2:
if(wdContext.currentContextElement().getQ().equals("Q3")){
catele.setCategory("Q3");
catele.setKRA_Series1(Q3_KRA);
catele.setApp_Pln_Series2(Q3_AP);
catele.setRev_App_Series3(Q3_RA);
catele.setEnd_Rev_Series4(Q3_ERP);
catele.setApp_Procss_Series5(Q3_AIP);
catele.setApp_overall_Series6(Q3_AOP);
seriescount = seriescount+1; break;}
break;
case 3:
if(wdContext.currentContextElement().getQ().equals("Q4")){
catele.setCategory("Q4");
catele.setKRA_Series1(Q4_KRA);
catele.setApp_Pln_Series2(Q4_AP);
catele.setRev_App_Series3(Q4_RA);
catele.setEnd_Rev_Series4(Q4_ERP);
catele.setApp_Procss_Series5(Q4_AIP);
catele.setApp_overall_Series6(Q4_AOP);
seriescount = seriescount+1; break;}
break;
case 4: if(wdContext.currentContextElement().getQ().equals("All")){
wdContext.nodeGraphData().invalidate();
wdContext.currentContextElement().setGraphVisibility(WDVisibility.NONE);
wdThis.onActiondropdownaction(wdEvent);
}default:
wdContext.nodeGraphData().addElement(catele);
Thanks
Uday -
Problem in Business Graph - no chart in my graph
Hi ,
I have tried a scenario on Business Graph as per the below link.
http://****************/Tutorials/WebDynproABAP/Graphics/page4.htm
i am getting the values in table ,but there was no any chart inside my graph , whereas i can see the values along x - axis.
following is the code i have used.
METHOD ONACTIONGET_EMP_DETAILS .
WD_THIS->FIRE_TO_ALV_TABLE_PLG( ).
DATA LO_ND_EMPLOYEE TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LO_EL_EMPLOYEE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LT_EMPLOYEE TYPE WD_THIS->ELEMENTS_EMP_DETAILS.
DATA LS_EMPLOYEE TYPE WD_THIS->ELEMENT_EMP_DETAILS.
navigate from <CONTEXT> to <EMPLOYEE> via lead selection
LO_ND_EMPLOYEE = WD_CONTEXT->GET_CHILD_NODE('EMP_DETAILS').
DATA LO_EL_CONTEXT TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LS_CONTEXT TYPE WD_THIS->ELEMENT_CONTEXT.
DATA LV_EMP_NO LIKE LS_CONTEXT-EMP_NO.
DATA LV_NUM TYPE I.
get element via lead selection
LO_EL_CONTEXT = WD_CONTEXT->GET_ELEMENT( ).
get single attribute
LO_EL_CONTEXT->GET_ATTRIBUTE(
EXPORTING
NAME = `EMP_NO`
IMPORTING
VALUE = LV_EMP_NO ).
SELECT ZASSIGNCOMP BEGDA ENDDA INTO CORRESPONDING FIELDS OF TABLE
LT_EMPLOYEE FROM PA9030 WHERE PERNR EQ LV_EMP_NO." AND ENDDA EQ '99991013'.
DESCRIBE TABLE LT_EMPLOYEE LINES LV_NUM.
LO_ND_EMPLOYEE->BIND_TABLE( LT_EMPLOYEE ).
DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
LO_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
LO_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
LO_INTERFACECONTROLLER = WD_THIS->WD_CPIFC_ALV( ).
DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
LO_VALUE = LO_INTERFACECONTROLLER->GET_MODEL( ).
Set Visible Row Count as 5
LO_VALUE->IF_SALV_WD_TABLE_SETTINGS~SET_VISIBLE_ROW_COUNT( LV_NUM ).
The Config Table Setting to Display Table & Business Graphics
DATA: L_REF_CONFIG_TABLE TYPE REF TO IF_SALV_WD_TABLE_SETTINGS,
L_DISPLAY_AS TYPE SALV_WD_CONSTANT VALUE '02'.
L_REF_CONFIG_TABLE ?= LO_VALUE.
L_REF_CONFIG_TABLE->SET_DISPLAY_AS( VALUE = L_DISPLAY_AS ).
ENDMETHOD.Hello Siva ,
Which node you have bind to the business graphics ui element ?
Which attribute you have used to for Series in business graphics ?
Regards
Vivek -
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,
NareshHi,
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. -
Legend not appearing for Chart Type columns/bars in business graphics
Hi Experts,
I'm not able to make the legend appear in web dynpro screen.As such graphs is coming but the legends are not appearing at runtime. When i customize the graph using t-code 'BS_ANLY_CD' or right-click on business graphics, the legends are appearing in customizing preview but not in runtime.
Could anybody help me out in this issue?
Below is the screenshot of the same.
Thanks in advance.
Regards,
Bob.Its solved .Solution is below.
You just need to add the label description for both the series then the legend will automatically come as shown below. -
Business Graphics: Time Scatter, Line Chart, Column Chart
Hi all,
I have a requirement of intermixing of Bar/Column-Chart and Line-Chart. How to do this? I also need to color the columns.. Any Documents or Ideas will be appreciated.
Thanks,
Vinod VHi, Rohit & Neha
I think, my question is not clear..
My requirements are on Business Graphics (Not in IWDTable), where i need to represent my data in different columns (Levels). Each level will be Represented in different colors.
Eg: Top level of my Graph will have RED,
Middle by YELLOW and
Bottom part would be with GREEN.
My Second Question is on using Multiple Graph types in same graph...
Where data will be represented in Column/Bar Chart and in the same graph i need a curve to display the max value pointed by Column Chart..
How can i achieve this?
Regards
Vinod V -
Business Graphics in WebDynpro - bundle chart and data sheet
Hi experts,
I have a simple chart with stacked columns in a WD4A application.
At the bottom of the chart I'd like to display the values of each column.
I know that it works in ABAP reports (CL_CU_DATA_SHEET).
Does anybody know how to do the same in a WebDynpro?
Thanks in advance!
Frank> Hi Frank ,
> Yes It is possible in webDynpro ABAP now how
> ?
> Please see Demo Component<b>
> WDR_TEST_EVENTS</b>.In this see view starting with
> BG*(Business Graphics ) .Run them see which will fit
> best to your problem and follow it .
> Another thing you can see Business Chart
> assocaited with ALV coloumn values . Please refer to
> Package <b>SALV_WD_DEMO</b>and component
> <b>salv_wd_demo_table_toolbr</b>.In Dropdown in ALV
> you will find option like <b>Table and Graphics</b>.
> See it .It show chart but below ALV .I m not sure do
> u need something like this only ?
>
> Hope this will help you .
>
> Cheers
> Parry
> <b></b>
Hi Parry,
thank you very much for your answer!
I cheked all examples in WDR_TEST_EVENTS but couldn't find any that fits.
The class <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/70/8fa0375b5dd003e10000009b38f8cf/frameset.htm">cl_cu_data_sheet</a> does exactly what I need, but only with SAP GUI.
I still hope that it will be possible to do the same in a WebDynpro.
Best regards
Frank -
Creating Gantt charts using Business Graphics that can be downloaded
The short version is I need the format for XML data to create a Gantt chart in a Business Graphics UI Element in order to be able to automatically email it. The long version is...
I currently have a Web Dynpro ABAP component that displays a Gantt chart using a Business Graphics UI Element based off data in various other UI elements in the view.
This works fine and the graph displays nicely, but I cannot find a way to download that straight from the Business Graphics UI Element. Having read around the forum there appears to be two options:
- Code it up myself by calling methods on the IGS API directly
- Bind the image data attribute on the element and get the data that way
Unfortunatly, we are not currently running a recent enough version (702/720) to be able to do the latter and so, unless there is another way, I need to code up the API calls myself.
So far I have got a business graphic in to an Adobe PDF form, loaded in my config data so it appears as a Gantt chart but I cannot figure out the format for the actual data that needs to be sent through in XML. Does anyone have example XML data or code to generate it that can be sent in to the call:
l_igs_ce->set_data( EXPORTING data_doc = p_ixml_doc ).
I have used the example in GRAPHICS_IGS_CE_TEST and the page http://liualex.com/archives/185 to generate the image and load the config data in but this only explains the XML format of the chart data for bar graphs.
Many thanksFound my answer,
This download: http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/e0a9ba90-0201-0010-d3a2-9cb376b5e181
This is the SAP Chart Designer, it contains a PDF which explains the XML format used, you can use it to manually create your own XML streams. -
Possible Chart Types Reports/Graphics
Where can i find a list or something like that, where i can see all possible Chart types Oracle Reports(Graphics) is able to build)
Simply start up graphics, create a new chart basing it upon a simple query, execute it and the chart properties will display all available chart types.
-
Business Graphics - Chart width 100%
Hi to all,
how can i set the width value to 100% in the business graphics propertis?
I tried but i dont can precent value set.
have you eny ideas?
regards
ThomasThe width and height properties of IWDBusinessGraphics are of type "int", so you cannot set CSS size values here. The Javadoc is wrong.
Armin
BTW: Could you solve the TableSorter problem?
Maybe you are looking for
-
i cannot open iphoto- the message I am getting says Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and
-
Time Machine doesn't recognise Seagate external hard drive
Forgive my ignorance, but I can't figure out how to connect Time Machine with my new hard drive. I've clicked on "select back up disk" but my external hard drive doesn't appear. I've looked at a lot of similar support online, but everything tells me
-
How to find the code in standard transaction from where event is trigered
I have a configuration in SWEC, to trigger an event, when a PR is change For the Transaction ME52 (Change Purchase requisition), I want to go to the portion of the code, from where the function module for triggering the event is executed. I have lear
-
Extending 30 inch ACD to 12 feet
I need to extend the video cable length of my 30 inch ADC to 12 feet. I know Gefen sells a DVI DL Booster for $250 which will work but does anyone know of something less expensive OR if the following will work... I have an Apple DVI to ADC Display Ad
-
How do I get the song to stop when I open a new tab?
It plays a happy little tune, but gets old fast. Please help!