How to Put Legend for Multi Series Stacked Graph...?
Hi Experts,
Please guide me how to put Legend for Multi Series Stacked Graph...?
Its very URGENT...!!!!
Thanks in advance...
Regards,
Manoj
I searched the forum using "jcombobox multiple columns". The first posting I read had a link to a posting with 4 different solutions.
Why is it so hard to search the forum before posting a question????
Similar Messages
-
Alerts for Multi Series Charts
Hi All,
Can we apply alerts for multi series charts?
I am able to set the alerts if i have 1 series where as the alerts are grayed out if i create more than 1 series.
Is this design behaviour??
Is there any work around??
Thanks in advance.
Regards,
SudharamInstall Xcelsius SP4 (available now).below features are supported among many
1. Combination charts can have alerts for multiple series
[http://everythingxcelsius.com/news/news-alert-xcelsius-2008-service-pack-4-sp4-is-now-available-to-everyone/4030]
Sp4 Download Link:
[SAP Crystal Solutions Downloads ]
Good Luck. -
How to put condition for one date range should not interfear with another ?
hi friends,
how to put condition for one date range should not interfear with another date range.
my data base table has two fields
from date
to date.
when we enter the date range in the data base , new date range means from date and to date should not interfear.
can anybody help me.
thanks &Regards,
Revanth
Edited by: rk.kolisetty on Jul 1, 2010 7:18 PMDo it the SAP way....
First entry...from is today, to is 99991231.
New dates entered, now we have two rows...:
from is original date to becomes yesterday.
From is today to is 99991231 -
How to configure SSO for WAS Java stack
Hi all,
I want to configure our WAS server with java stack as a SAP ticket issuing system. This system does not have Portal installed on it.
I want to know weather it is possible or not. if possible how it can be done.
actually ABAP stack their are transaction like SSO2,SSO to do the task. but what about WAS with Java stack?
Thank all.HI Kumar
Follow this link.
http://help.sap.com/saphelp_nw04/helpdata/en/53/695b3ebd564644e10000000a114084/frameset.htm
Hope this helped you
Reagrds,
RK -
How to put tab for alignment using out.println?
can anyone tell me how to put something like \t in out.println of JSP/
out.println("<blockquote>your text</blockquote>");
-
ALV: how to handle event for multi (lead) row selection ?
Hi,
I use editable ALV and configure it for multi (lead) selection. Works fine.
But I could not find any event handler for reading the selected lines.
There is only the Event handler ON_LEAD_SELECT: this works only for 1 line
(the lead line). But I could not read multi lines. Who can help?
Thanks in advance, ChristianHi Christian,
did you try a custom button?
Try a call
node->GET_SELECTED_ELEMENTS
I cant remember if ALV sends event when multi-selection is on for each row selection.
ie as each row is selected, do you get control ?
If so, then you should still be able to call node->GET_SELECTED_ELEMENTS .
regards
Phil. -
How to put parameter for object/table ID in BW Web Report
Hi All,
In my BW Web report, i want to get my object TABLE_1 but the code below seems not to work.
var mytable = document.getElementsByTagName("table");
Checking on it, i think IE recognize only document.getElementsByID. ( I tested it by manually creating a table in my template and putting a tag for table ID) But BW does not generate the Object ID in the parameters below, only the name.
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TABLE_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="CAPTION" value="jezel"/>
<param name="ONLY_HIERARCHY_NAVIGATION" value="X"/>
<param name="BLOCK_SIZE" value="0"/>
<param name="SHOW_PAGING_AREA_BOTTOM" value=""/>
ITEM: TABLE_1
do you know how i can add a parameter for object ID? do you know any steps how i can retrieve my table using javascript?
Thanks in advance.Hi JTi,
what i have understood from your requirement is that you want to access the web item table_1 in javascript, you can get that as below:
Add
<span>
tag before your web item and set its id to table.
<span id = "table">
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TABLE_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="CAPTION" value="jezel"/>
<param name="ONLY_HIERARCHY_NAVIGATION" value="X"/>
<param name="BLOCK_SIZE" value="0"/>
<param name="SHOW_PAGING_AREA_BOTTOM" value=""/>
ITEM: TABLE_1
</span>
In javascript access it as :
var mytable = document.getElementsById("table");
Hope this helps
Thanks
Dipika -
How to put colours for a column in ALV
Dear All,
I need to put green colour for 1 column in an ALV report.
Can anybody tell me how we can do that ...
Thanking you in advance,
ShankarHere's a little sample program..... this illistrates coloring at the column, row, and cell level.
report zrich_0002 .
* Use of colours in ALV grid (cell, line and column) *
* Table
tables : mara.
* Type
types : begin of ty_mara,
matnr like mara-matnr,
matkl like mara-matkl,
counter(4) type n,
free_text(15) type c,
color_line(4) type c, " Line color
color_cell type lvc_t_scol, " Cell color
end of ty_mara.
* Structures
data : wa_mara type ty_mara,
wa_fieldcat type lvc_s_fcat,
is_layout type lvc_s_layo,
wa_color type lvc_s_scol.
* Internal table
data : it_mara type standard table of ty_mara,
it_fieldcat type standard table of lvc_s_fcat,
it_color type table of lvc_s_scol.
* Variables
data : okcode like sy-ucomm,
w_alv_grid type ref to cl_gui_alv_grid,
w_docking_container type ref to cl_gui_docking_container.
parameters : p_column as checkbox,
p_line as checkbox,
p_cell as checkbox.
at selection-screen output.
perform get_data.
perform fill_catalog.
if w_docking_container is initial.
perform create_objects.
endif.
*& Form create_objects
form create_objects.
create object w_docking_container
exporting
ratio = 60
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
others = 6.
create object w_alv_grid
exporting
i_parent = w_docking_container.
* Field that identify color line in internal table
move 'COLOR_LINE' to is_layout-info_fname.
* Field that identify cell color in inetrnal table
move 'COLOR_CELL' to is_layout-ctab_fname.
call method w_alv_grid->set_table_for_first_display
exporting
is_layout = is_layout
changing
it_outtab = it_mara
it_fieldcatalog = it_fieldcat
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
endform.
*& Form get_data
form get_data.
select * from mara up to 5 rows.
clear : wa_mara-color_line, wa_mara-color_cell.
move-corresponding mara to wa_mara.
add 1 to wa_mara-counter.
move 'Blabla' to wa_mara-free_text.
if wa_mara-counter = '0002'
and p_line = 'X'.
* Color line
move 'C410' to wa_mara-color_line.
elseif wa_mara-counter = '0004'
and p_cell = 'X'.
* Color cell
move 'FREE_TEXT' to wa_color-fname.
move '6' to wa_color-color-col.
move '1' to wa_color-color-int.
move '1' to wa_color-color-inv.
append wa_color to it_color.
wa_mara-color_cell[] = it_color[].
endif.
append wa_mara to it_mara.
endselect.
endform.
*& Form fill_catalog
form fill_catalog.
* Colour code : *
* Colour is a 4-char field where : *
* - 1st char = C (color property) *
* - 2nd char = color code (from 0 to 7) *
* 0 = background color *
* 1 = blue *
* 2 = gray *
* 3 = yellow *
* 4 = blue/gray *
* 5 = green *
* 6 = red *
* 7 = orange *
* - 3rd char = intensified (0=off, 1=on) *
* - 4th char = inverse display (0=off, 1=on) *
* Colour overwriting priority : *
* 1. Line *
* 2. Cell *
* 3. Column *
data : w_position type i value '1'.
clear wa_fieldcat.
move w_position to wa_fieldcat-col_pos.
move 'MATNR' to wa_fieldcat-fieldname.
move 'MARA' to wa_fieldcat-ref_table.
move 'MATNR' to wa_fieldcat-ref_field.
append wa_fieldcat to it_fieldcat.
add 1 to w_position.
clear wa_fieldcat.
move w_position to wa_fieldcat-col_pos.
move 'MATKL' to wa_fieldcat-fieldname.
move 'MARA' to wa_fieldcat-ref_table.
move 'MATKL' to wa_fieldcat-ref_field.
* Color column
if p_column = 'X'.
move 'C610' to wa_fieldcat-emphasize.
endif.
append wa_fieldcat to it_fieldcat.
add 1 to w_position.
clear wa_fieldcat.
move w_position to wa_fieldcat-col_pos.
move 'COUNTER' to wa_fieldcat-fieldname.
move 'N' to wa_fieldcat-inttype.
move '4' to wa_fieldcat-intlen.
move 'Counter' to wa_fieldcat-coltext.
append wa_fieldcat to it_fieldcat.
add 1 to w_position.
clear wa_fieldcat.
move w_position to wa_fieldcat-col_pos.
move 'FREE_TEXT' to wa_fieldcat-fieldname.
move 'C' to wa_fieldcat-inttype.
move '20' to wa_fieldcat-intlen.
move 'Text' to wa_fieldcat-coltext.
append wa_fieldcat to it_fieldcat.
endform.
Regards,
Rich HEilman -
How to put Reason for rejection to line item level?
Hi
I am updating the Sales order at line item and putting the reason for rejection but it didnt updates the database. Below is the code.
LOOP AT LT_VBUP1 INTO WA_VBUP1.
ON CHANGE OF WA_VBUP1-VBELN.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = WA_VBUP1-VBELN
ORDER_HEADER_INX = LV_ORDER_HEADER_INX
TABLES
RETURN = IT_RETURN
ORDER_ITEM_IN = IT_ORDER_ITEM_IN
ORDER_ITEM_INX = IT_ORDER_ITEM_INX.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
CLEAR WA_TY_SOCLOSE.
IF SY-SUBRC EQ 0.
LT_TY_SOCLOSE-VBELN = LV_SALESDOCUMENT.
LT_TY_SOCLOSE-STCLOSE = 'Y'.
ELSE.
LT_TY_SOCLOSE-VBELN = LV_SALESDOCUMENT.
LT_TY_SOCLOSE-STCLOSE = 'N'.
ENDIF.
APPEND LT_TY_SOCLOSE.
ENDON.
CLEAR: WA_ORDER_ITEM_IN,WA_ORDER_ITEM_INX.
WA_ORDER_ITEM_IN-ITM_NUMBER = WA_VBUP1-POSNR.
WA_ORDER_ITEM_IN-REASON_REJ = 'Y1'. " Putting order of rejection for the archiving
WA_ORDER_ITEM_INX-ITM_NUMBER = WA_VBUP1-POSNR.
WA_ORDER_ITEM_INX-UPDATEFLAG = 'U'.
WA_ORDER_ITEM_INX-REASON_REJ = 'X'.
APPEND WA_ORDER_ITEM_IN TO IT_ORDER_ITEM_IN.
APPEND WA_ORDER_ITEM_INX TO IT_ORDER_ITEM_INX.
CLEAR WA_VBUP1.
ENDLOOP.
Correct me where I am putting wrong.
Regards
MohinderLOOP AT LT_VBUP1 INTO WA_VBUP1.
ON CHANGE OF WA_VBUP1-VBELN.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = WA_VBUP1-VBELN
ORDER_HEADER_INX = LV_ORDER_HEADER_INX
TABLES
RETURN = IT_RETURN
ORDER_ITEM_IN = IT_ORDER_ITEM_IN
ORDER_ITEM_INX = IT_ORDER_ITEM_INX.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
CLEAR WA_TY_SOCLOSE.
IF SY-SUBRC EQ 0.
LT_TY_SOCLOSE-VBELN = LV_SALESDOCUMENT.
LT_TY_SOCLOSE-STCLOSE = 'Y'.
ELSE.
LT_TY_SOCLOSE-VBELN = LV_SALESDOCUMENT.
LT_TY_SOCLOSE-STCLOSE = 'N'.
ENDIF.
APPEND LT_TY_SOCLOSE.
ENDON.
CLEAR: WA_ORDER_ITEM_IN,WA_ORDER_ITEM_INX.
WA_ORDER_ITEM_IN-ITM_NUMBER = WA_VBUP1-POSNR.
WA_ORDER_ITEM_IN-REASON_REJ = 'Y1'. " Putting order of rejection for the archiving
WA_ORDER_ITEM_INX-ITM_NUMBER = WA_VBUP1-POSNR.
WA_ORDER_ITEM_INX-UPDATEFLAG = 'U'.
WA_ORDER_ITEM_INX-REASON_REJ = 'X'.
APPEND WA_ORDER_ITEM_IN TO IT_ORDER_ITEM_IN.
APPEND WA_ORDER_ITEM_INX TO IT_ORDER_ITEM_INX.
***********************************************************************<<<<do this bit here
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = WA_VBUP1-VBELN
ORDER_HEADER_INX = LV_ORDER_HEADER_INX
TABLES
RETURN = IT_RETURN
ORDER_ITEM_IN = IT_ORDER_ITEM_IN
ORDER_ITEM_INX = IT_ORDER_ITEM_INX.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
CLEAR WA_VBUP1.
ENDLOOP. -
How to put total for a column at the end of the report
I have a field called requests. at the end of every print page i want the total no. of requests to be printed. how can i do that? please help urgent
If your querying requests, and your query pulls back 50 rows of data, would you say that is 50 requests in total?
A summary column is quite simple - it counts the number of rows in a given report group. If the number of rows brought back is the total number of requests, than just create it to count some column in that group (request num..etc). If you set it to reset at the report level, it should just work fine -
How to put constraint for a property in ATG Search
Hi
We are facing an issue with search 10.0.2
We have added a functionality to search promotions along with catalog.
Now, if we search by promo id and if an exact match is found then the results come fine.
like if i search for "promo123" and if there are 5 products associated to promo123 then it displays correctly.
The problem comes when we search for a promo that does not have any product linked to it.
like if i search for "promo456" then there are no results associated with it but the search now brings the search related to "promo" excluding the 456 from it and displays them all.
Is there a way i can tell my search to bring exact match results corresponding to "promo456" and if there is no exact match then display 0?
ThanksHello,
You can try this,
If your promotions item descriptor is part of the index then add the following input field in your search form.
Eg:
<dsp:input bean="/atg/commerce/search/catalog/QueryFormHandler.searchRequest.relQuestSettings.activeSolutionZones" type="hidden" value="role:promotionitemdescriptorpropertyname.id"/>
Here the value of this hidden field is
role:promotionitemdescriptorpropertyname.id
You need to change the promotionitemdescriptorpropertyname with your property name in productcatalogoutputconfig and if you search on id then add
whatever is the id name of the property you need to pass that.
Hope this helps...
You can have the documentation at following URL:
http://download.oracle.com/docs/cd/E22630_01/Search.1002/pdf/ATGSearchQuery.pdf
and in that pdf take a look at this chapter "Setting the relQuestSettings Property"
Edited by: 890963 on Oct 12, 2011 1:32 AM
Edited by: 890963 on Oct 12, 2011 1:35 AM -
How to put validations for Bank Gl accounts
Dear Gurus,
I have a requirement, where i want to make Profit center mandatory for the Bank Debits only.
Can you please suggest if my below written Validation would be useful in this respect.
Please correct my coding also. As i am doing validation for first time.
My working in Validation at line item level is :
Prerequisite: BKPF-BURKS = "ABCD"
Check : BSEG-BSCHL = 40 and BSEG-HKONT = "xxxxxx" to "yyyyyy"
Message: Please enter profit center.
regards
NJPHi,
You can acheive it in 2 ways.
1. (GL account >= xxxxx AND <= yyyyy)
or
2. Create a set for GL account using t-code GS03 and use as -
GL Account in <set name>
Regards,
Sridevi -
How to edit legend names in pie diagram graph
hi
i have a spelling mistake in my lagend of pie graph
now i need to edit it make correction of my legend name
could any one please tell me the way to edit my legand plz...the values from our column are from database , then how can we edit the data(values) in that columnErrr..Ohkk. There are 3 methods you can do this:
1) Correct the spelling in underlying DB table by updating the column name (check all the references) - Most Recommended
2) In case you don't want to go for 1st option, you can remove the default legend option in Pie Chart by setting it to none and ADD a new Legend View to this Chart View with correct names
3) Change the fx of that column in criteria like
case when col = 'abd' then 'abc' else col end
All above will solve your problem.... -
Creating a multi series line chart with different data providers
I have 3 data providers of the same structure i.e ArrayCollection of DataElement and want to use them to create a multiseries line chart. I do not have just 1 dataProvider that can be used but 3 different data providers of the same structure that i want to use each for different series.
[Bindable] private var orangeSales : ArrayCollection =
new ArrayCollection(
[ { sales: 101000, month: new Date( '01/01/2008' ) },
{ sales: 960000, month: new Date( '02/01/2008' ) },
{ sales: 475000, month: new Date( '03/01/2008' ) },
{ sales: 425000, month: new Date( '04/01/2008' ) }
[Bindable] private var appleSales : ArrayCollection =
new ArrayCollection(
[ { sales: 991000, month: new Date( '01/01/2008' ) },
{ sales: 140000, month: new Date( '02/01/2008' ) },
{ sales: 565000, month: new Date( '03/01/2008' ) },
{ sales: 255000, month: new Date( '04/01/2008' ) }
[Bindable] private var bananaSales : ArrayCollection =
new ArrayCollection(
[ { sales: 891000, month: new Date( '01/01/2008' ) },
{ sales: 147560, month: new Date( '02/01/2008' ) },
{ sales: 295000, month: new Date( '03/01/2008' ) },
{ sales: 574000, month: new Date( '04/01/2008' ) }
I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
<mx:ColumnChart showDataTips="true" >
<mx:horizontalAxis>
<mx:CategoryAxis
dataProvider="{orangeSales}"
categoryField="month"
/>
</mx:horizontalAxis>
<mx:series>
<mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
<mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
<mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
</mx:series>
</mx:ColumnChart>
Please help!Sorry for the confusion. Actually I must be doing some thing wrong like using ColumnChart to display a line chart or something like that.
I have now realized that a multi series line chart can be built by having a different data provider for each of the LineSeries object.
So the code below would create a multi series line graph :
[Bindable] private var orangeSales : ArrayCollection =
new ArrayCollection(
[ { sales: 101000, month: new Date( '01/01/2008' ) },
{ sales: 960000, month: new Date( '02/01/2008' ) },
{ sales: 475000, month: new Date( '03/01/2008' ) },
{ sales: 425000, month: new Date( '04/01/2008' ) }
[Bindable] private var appleSales : ArrayCollection =
new ArrayCollection(
[ { sales: 991000, month: new Date( '01/01/2008' ) },
{ sales: 140000, month: new Date( '02/01/2008' ) },
{ sales: 565000, month: new Date( '03/01/2008' ) },
{ sales: 255000, month: new Date( '04/01/2008' ) }
[Bindable] private var bananaSales : ArrayCollection =
new ArrayCollection(
[ { sales: 891000, month: new Date( '01/01/2008' ) },
{ sales: 147560, month: new Date( '02/01/2008' ) },
{ sales: 295000, month: new Date( '03/01/2008' ) },
{ sales: 574000, month: new Date( '04/01/2008' ) }
I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
<mx:ColumnChart showDataTips="true" >
<mx:horizontalAxis>
<mx:CategoryAxis
dataProvider="{orangeSales}"
categoryField="month"
/>
</mx:horizontalAxis>
<mx:series>
<mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
<mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
<mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
</mx:series>
</mx:ColumnChart> -
Multi Series in Starked Column chart
Hi all
I want to designa dashboard to show revenue by years and by detail divisions.
I have 3 years (YTD, last year and last 2-years) and 2 divisions (Production and Services). In Production, have 2 products and In Services have 3 services.
The detail of requirement as below link.
http://www.fusioncharts.com/docs/DataFormats/XML/MSStacked.html
I try using starked Column Chart but I can't work for multi series in column.
Who can help me the solution for this.
ThanksHi,
Sorry to jump in. But to give an idea of the data layout needed it is as follows:
Col A Col B Col C Col D Col E Col F
Row 1 Year Service 1 Service 2 Service 3 Product 1 Product 2
Row 2 2009 £100 £150 £120
Row 3 £200 £250
Row 4
Row 5 2010 £100 £150 £120
Row 6 £200 £250
Row 7
Row 8 2010 £100 £150 £120
Row 9 £200 £250
The Row / Col refer to excel rows and columns for ease in explaining. Rows 4 and 7 are deliberately blank to create a gap between the columns for each year.
You can then bind the chart data to the range B1:F9 and make sure that it is set to Data in Columns.
Then set the X axis labels click on the "By Series" radio button and bind the "Category Labels(X):" to the range A2:A9.
As the X axis labels will appear directly under the first column you may wish to add some superfluous spaces in front of the year title to shift the label to the right and appear under the middle of both columns.
Hope that all makes sense,
Paul
Maybe you are looking for
-
Is there a way to get more trailer templates for iMovie on ipad?
I don't have a mac, bot I love iMovies on the iPad. Is there a way to get more trailer templates? I noticed quite a few more on iMovie 11 and I just wanted to know if new ones would be made available for the iPad?
-
Error while Installing Java on MCOD system
Please Find the error attached Below. Abap system has been installed and up and running.SID(EB1) while installing Java System i am getting the following error SID(EBB). WARNING[E] 2009-06-09 01:18:05.920 CJS-30226 Host: 'sapbl009' or port: 'undefine
-
URL extensions for embed (E ) arent working in IE7
I have a movie using QTNEXT and HREF/AUTOHREF to send related pages into IFRAMEs on the page. the QTNEXT params are working just fine in IE7, in that it plays all movies sequentially, but the URL extensions to change the HREF and other options like t
-
Web Service Call From Proxy Client in ABAP: View SOAP Request
Hello All, We are working on a scenario where we have to connect to a web service from ABAP. We have extracted the WSDL, and generated the client proxy, and configured a Logical Port. However, at the time of actual call, we receive an error message "
-
Video vertical moving? help.
Hello, I have a 60gb ipod. Since I got it last month, I have had a problem with the video screen "vertical" moving. I call it vertical because it seems very much like the vertical control on a old TV. Example. The top line of the menu with "ipod" and