How to Internatilonaliza Business Graphics axis title
Hello everyone,
I have a view with an UI Business Objects of chartype "columns" and dimension 2. After starting ChartDesigner, i realize that the Y axis has a caption that says "% Performance". I'm translating all the application to spanish, so, as we do with xlf files for labels, views and enumeration types, i would like to translate this caption. Where can i do this ? Does anyone knows ?
Thank you in advance for any help.
Santi
Have u been successful in saving this graph to the local pc ...
If yes could u tell me how to do this
Similar Messages
-
SSRS 2008 - How to chnage the display axis title?
Hi all,
I have a bubble chart. Currently the values shown on y axis are 1,2,3 and 4. Since it is mandatory to have a numeric value on y axis so i want to change the axis title just for display. I want to change the axis title to some string value
just for display. How can i do that ?
Alok Aswal
Thanks in advance :)Hi Alok,
Based on my research, if we directly add the expression Fields!field_name.Value or other string values in the Custom Number format property, the axis will all display the first value of the field. So we cannot directly achieve the goal. But if there are
only three values on the Y Axis, we can use
excel format code as Peter suggested.
If there are more than three values on the Y Axis, we can use a table control to simulate the Axis labels to work around this issue. For more details, please refer to the steps below:
Drag a table to design surface, then delete the table header and last two columns.
Insert the expression which have some string values as below to the cell:
=Fields!field_name.Value
Set HideLabels property of Y Axis to True, then adjust the table position so that it aligns to the Y Axis of chart.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to export Business Graphics to MS-Excel or to MS-Word ???
Hi All ,
I want to create report of Business graph in WebDynpro . As graph can not be saved or printed, so is there any way to export it to excel or to word so that i m able to save or print it???
Regards
KavitaHi
Go by the menu System - list - save - Local File - then select spreedsheet and save it.
Cheers
V.Krishnan
(Assign points if useful) -
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 advanceHi 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 -
How to Axis labels for Line charts in Business Graphics
Hi
I am planning to do the Business Graphic example using Line chart.As part of this
i didn't clearly understand what is the perpose of Series,Points,categorys?
if i want to set the Labels at X-axis and y axis ,then how to do that?Baiscally i want to put time related data as X-axis label(20min,30min,60 min etc).Please help.
is there any good example to understand the concept?
Thanks
PrasadHi Bachier
Thanks for your repsonce.I had seen the example you suggested.but there is no answer for my question.How to set the x-Axis,Y-axis Labels.I had done example for "line chart".But i have same problem:
Hi
I am trying to do example on "line chart" using Business graphics in my webdynpro application.
In the Context i created Node "A" under which i created "B".then it has value attributes xValue,yValue.Then in View i created BG UI element >Series>point-->NumericValue(for xValue) ,NumericaValue(yValue).Now in view init() method i had initialized values to x and y. some output is coming.but i want to know how to set the X-Axis Label,y-Axis Labels.in X-Aix Label i want to mention time in hrs i.e 8.00,8.30AM,9.00AM,9.30AM etc.as part of y-axis labels i want to mention numeric values( .2,.4,.8,2.0 etc). Please tell me how to set this X-Axis,y-Axis labels.at every 30min(8.00Am,8.30AM etc) user enter quality data(i.e .2 etc) then i want to generate chart.Please help in this regard.i will give very good points
Thanks
Prasad -
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, Gantt, and how to
Hello Everyone,
I am trying to use the UI Element Business Graphics in order to create a Gantt chart. I am having trouble trying to determine how to set up the context and mapping for this. I am basically trying to create a Gantt chart that is similar to a Team Calendar in that entries on the vertical axis could have more than one entry on the line. I have looked at the example WDA programs that specify a Gantt chart, but none of them are doing a Gantt chart similar to a team calendar.
I currently have my context as follows.
Series (Node)
Points (Node of Series)
Values (Node of Points)
Start Time (Attribute of Values)
End Time (Attribute of Values)
Description (Attribute of Series - This contains entries on the vertical axis. In a Team Calendar...this would be name)
Label (Attribute of Series)
Is this the proper context set up for a Gantt chart similar to a team calendar? If this is correct, then does someone also have recommendations on how to bind the attributes in the "Values" node since this is a nested node?
One last question, does anyone know of any WDA program (standard) that is doing a Gantt chart similar to this? It would be helpful to look at an example.
Thank you for your help.
ScottHi Lekha,
Yes, I have looked at both of those. Both of those examples utilize the Gantt UI element and not the Business Graphics UI element and Gantt chart as I mentioned. The Gantt UI element in those two examples seem to be a bit overkill for what I am trying to accomplish; however, I welome any feedback on utilizing the Gantt UI element. This problem I saw with that (other than it being too much for what I am trying to do) is how/what must be done to get your data formated properly in order to bind it to the Gantt UI Element.
Scott -
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
SrikanthHi,
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. -
How to set multiple categories in Business graphics
Hi Experts,
I want to display column chart in using Business graphics UI element. My requirement is that I need to display sets of 5 series in 4 categories. I could able to create only one category and i am not getting option to create other 3 categories.
please help me how can i achieve this. Any kind of help would be much appreciated.
Thanks
UdayThanks Maksim,
I am still confused with other terms i mentioned in the code
http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproDynamicBusiness+Graphics
what does this nodeNumber refers to
what does this * IT_FinalElement * refers to
what does this * seriseNumber* refers to
there are so many questions? looks like in the above tutorial, the person has used SeriesList instead of SimpleSeries
I am totally lost. please help with any tutorial links for each scenarios
Thanks
Uday -
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,
MarkusSorry.
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. -
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 -
How to customize a business graphic ?
Hello,
I have succefully created a business graphic which displays columns.
My question is how can I set each column's value as a label on top of of the column so the value will be clear to the user? I am sure there is a way to it through the chart designer but I can't find it...Hi,
The Series object is used to specify a more complex data series. You can use this object for displaying data series if you do not want to display a category-based chart or if the number of data series is not definite at design time.
The SimpleSeries object is used to specify a simple data series. This object should be used when:
1. The number of data series is already determined and known at design time
2. The chart is category-based and each point has only one y value
Regards, Anilkumar -
Business Graphics - Gantt: How to customize?
Hi!
I followed this tutorial (https://cw.sdn.sap.com/cw/docs/DOC-35515 - http://help.sap.com/saphelp_nw04/helpdata/EN/a8/1cd93f5e0f9015e10000000a155106/frameset.htm) and the final result is looking very different. This is because the customizing steps aren't explained in detail. Is there a complete tutorial for this or can anybody help with more information about the customizing?
I have set the chart type to gantt. On the left side i can see the user names, but they are not categorized according to their team, the team is also listed like the other users etc. etc.
Any hint for this topic?
Thanks!Hi Lekha,
Yes, I have looked at both of those. Both of those examples utilize the Gantt UI element and not the Business Graphics UI element and Gantt chart as I mentioned. The Gantt UI element in those two examples seem to be a bit overkill for what I am trying to accomplish; however, I welome any feedback on utilizing the Gantt UI element. This problem I saw with that (other than it being too much for what I am trying to do) is how/what must be done to get your data formated properly in order to bind it to the Gantt UI Element.
Scott -
How to add series to Business Graphics control dynamically?
Hi Experts,
How to add series to Business Graphics control dynamically?
I tried the method add_series( ) but could not use it properly.
If you have any clues of using it, let me know.
I need it urgently.
Best Regards,
Arti.I'm not sure what ADD_SERIES method you are refering to. The only programable API for the Business Graphics that I found was this one:
http://help.sap.com/saphelp_nw70/helpdata/EN/42/e61cd068dc3ee4e10000000a1553f7/frameset.htm
I've not ever tried it, but you not just add the series UI element like any other dynamic UI manipulation during the WDDOMODIFYVIEW?
http://help.sap.com/saphelp_nw70/helpdata/EN/11/ba74412cba127de10000000a155106/frameset.htm -
[Business Graphics] Translation of captions
Hi,
I have some Business Graphics elements in my Web Dynpro component.
I used the Chart Designer to customize the appearance and add some titles (chart, X-axis, ...) but - to my opinion - this result in an XML file located in the MIME repository: SAP/BC/WebDynpro/SAP/Zxxx/4OQN7xxxxxx.xml
Now, I have to make available in 5 languages.
Does anyone know how should I proceed to translate the texts that are embedded within this XML file... ?
Should I keep the XML file and implement another layer for the translation trough METHODHANDLER attribute (reference variable of type IF_WD_BUSIN_GRAPHICS_MTD_HNDL) of the Business Graphics control in the WDDOMODIFYVIEW( )?
I guess this should be possible to load the initial XML file, use regular expressions to change the various captions, and inject the modified XML??
--> this looks very much like what is done in report GRAPHICS_IGS_CE_TEST...
Thanks in advance.
Best regards,
Guillaume
Edited by: Guillaume Garcia on Feb 7, 2012 6:32 PM / Report GRAPHICS_IGS_CE_TESTDownload your initial XML, translate, upload with name business_graphic_customization_<LANG(1)>.xml
method WDDOMODIFYVIEW .
data:
lr_bg_control type ref to cl_wd_business_graphics,
lr_bg_method_handler type ref to IF_WD_BUSIN_GRAPHICS_MTD_HNDL.
check first_time = abap_true.
lr_bg_control ?= view->get_element( 'CHART' ).
lr_bg_method_handler ?= lr_bg_control->_method_handler.
DATA pict_wa TYPE xstring.
DATA mime_api TYPE REF TO if_mr_api.
DATA: mr TYPE REF TO if_mr_api,
lurl TYPE string.
* get name of component
data: l_component type ref to if_wd_component,
l_component_info type ref to if_wd_rr_component,
l_name type string.
l_component = wd_comp_controller->wd_get_api( ).
l_component_info = l_component->get_component_info( ).
l_name = l_component_info->get_name( ).
* get mime object
mr = cl_mime_repository_api=>get_api( ).
CL_WD_UTILITIES=>CONSTRUCT_WD_URL( exporting APPLICATION_NAME = l_name
importing OUT_LOCAL_URL = lurl ).
mime_api = cl_mime_repository_api=>get_api( ).
concatenate lurl '/business_graphic_customization_' sy-langu '.xml' into lurl.
mime_api->get( EXPORTING i_url = lurl
IMPORTING e_content = pict_wa
EXCEPTIONS OTHERS = 4 ).
data : DOCUMENT TYPE REF TO CL_xml_document.
CREATE OBJECT DOCUMENT.
DOCUMENT->PARSE_XSTRING( pict_wa ).
lr_bg_method_handler->SET_DIRECT_CUSTOMIZING_MODE( abap_true ).
lr_bg_method_handler->ADD_DIRECT_CUSTOMIZING( exporting I_CUSTOMIZING = DOCUMENT->M_DOCUMENT ).
endmethod.
Maybe you are looking for
-
I downloaded the new itunes, and lost everything, how do I get it back?
How can I get all my stuff back in Itunes? I'm very frustrated!
-
Flash Web Gallery large photo border erratic behavior
In Lightroom HTML Web Gallery one can define border styles for the displayed photos. I cannot find a similar future in the Flash Gallery however. Is there one??? In any case, the first 6 photos in my Flash Web Gallery appear with a black border aroun
-
Drag and drop image from local files site list to page.
Not working on all my documents. Must be some setting. Any ideas what is wrong?
-
About create a new find() metho in cmp Ejb.
I have created an Entity CMP from a table (with JDeveloper9irc) mapped to the emp (employee) table in the SCOTT schema. And I want to creat an other new find metho such as find_by_field_name1(....) . How to do?
-
( ?Unit@TextureUnit@OGL@AIF@SAPEAV@I@Z not found in aif_ogl.dll ) What the hell is this and why do I get it every time I launch PS CC 2014?