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
Uday
Hi 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
Similar Messages
-
Want date displayed with time on the top banner
Want date displayed with time on the top banner
On the top banner, I see signal, network, wifi, time, alarm, Bluetooth and battery. I want to see date and month and year too. How?There isn't a way to display the date in a banner.. BUT - The calendar icon does display the date and day.
HTH -
Hi
I'm using CR XI. I'm attempting to create a cross-tab report where:
Added Total
AF 12 23
F 15 30
CO 18 50
Where AF etc is the categoty of items, Added is the total count of previous finanical year(e.g. 1 July 2006 to 30 June 2007), Total is the total account of current finanical year.
The count is based on created_date field(e.g. ITD.DTE -- ITD is the table, DTE is the field).
Although I can at the moment only display the value correctly in "Added" column, if I tried to display the Total column, the two columns always have the same value.
How could I achieve the above desired results by using fomula? I would appreciate it very much if anyone could help me with this?
Thanks in advance
JSCreate 2 formulas, 1 for the previous year and 1 for current, similar to the following;
1) if date({Orders.Order Date}) in date(2003,07,01) to date(2004,06,30) then 1 else 0
2) if date({Orders.Order Date}) in date(2004,07,01) to date(2005,06,30) then 1 else 0
Add both of these formulas as the summarized fields in the crosstab -
Problem in displaying totals based on the Unit of measurement.
Hi,
I have Problem in displaying totals based on the Unit of measurement.
I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
Matnr Quantity UOM
51 10 EA
61 10 KG
71 10 KG
In the total i should get
10 EA
20 KG
Can anyone tell me how to do this?
The basic req is the exclude the qty with unit EA(each) in the totals.
Thanks,
AmitH i,
you can use the collect statement
to get the proper result
loop at itab. ( all the records)
move all the fields from itab to another
collect itab1.
write: itab1-fields, itab1-fields.
endloop.
this will solve your problem
reward points if helpful,
thanks & regards,
venkatesh -
I want to display some fields using the BDC and i want to know thruogh whic
I want to display some fields using the BDC and i want to know thruogh which transaction these fields are displayed.Could you please help me out.
You can use JFreeChart which is a free and good tool to generate graphs in Java. It has samples and other guides which you can use to get started...
-
How to display the value of a column in a chart at the top of each column
How to display the value of each column in a chart at the top of each column?
Like this?
Done using chart Inspector.
For details, see Chapter 7, Creating Charts from Numerical Data in the Numbers '09 User Guide. The guide may be downloaded via the Help menu in Numbers.
Regards,
Barry -
My iPad suddenly started displaying "searching" up in the top left corner of the screen and the wifi symbol is next to it and I am connected to the wifi. Prior to last weekend it used to display Verizon and everything was fine. After about 2-5 minutes the iPad suddenly reboots itself. Can anyone assist with this. Thank you
Have you tried rebooting the iPad?
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. -
I want to display totals in words
Hi Friends,
I want to display sub-totals/totals in words also. If the total is 1,20,500, I want to display it one lakh twenty thousands five hundred.
If I created a report, I want to display the total no.of pages at in the end-of-page event.
---End of page, page No: 1 of 15. like this.
Plz help me, I need this very soon.Assuming that you want to display pages in the format '<current Page> of <total pages>' I would suggest you construct your code something this:
1) In your TOP-OF-PAGE, display the current page normally during every new page using the variable SY-PAGNO.
Eg. WRITE AT: 120(003) SY-PAGNO,
125(2) 'of'.
2) Then finally capture SY-PAGNO to a variable, say TOTPAGE = SY-PAGNO. (Or have a counter that increment everytime a TOP-OF-PAGE is encountered).
3) After all the pages are populated, the variable mentioned in the above step will have the total pages.
4) In your END-OF-SELECTION, use the following code after all the report generating stmts like 'WRITE', 'SKIP' are used:
DO TOTPAG TIMES.
<X> denotes the line in which your '<SY-PAGNO> of <TOTPAGE>' appear
READ LINE <X> OF PAGE SY-INDEX LINE VALUE INTO G_LINE.
Now move the total pages into the appropriate columns of the line (in our case it may be 128(5) - assuming 5 digit value for max pages)
G_LINE+128(5) = TOTPAG.
MODIFY LINE <X> OF PAGE SY-INDEX LINE VALUE FROM G_LINE.
ENDDO.
This modifies the total page value in all the pages displayed.
Regards,
Vijay -
Do not want to display mail attachments in the email body
When I want to add word processing attachments, usually with .doc extension, the whole of the text is displayed in the body of the email. I do not want this, I just want to show the name of the file such as MyLetter.doc or AnotherRamble.doc etc.
I use the doc extension because those on one of the other operating systems may not be able to read .pages extensions.
I may from time to time send files with the .xls extensions and more recently I have just sent 20 x A4 pages of scanned documents which have .jpg extensions, every one of these .jpg attachments is displayed in full in the body of the email, it makes them difficult to read and hard to print. The original plan was to send 20 x .jpg, the recipient would print them out. There is some complex data in these documents and honestly hard copies are essential at the other end.Control click or Right Click on the attachment in the body of the email and select 'View as icon'.
There is a (paid for) mail plugin called Attachment Tamer which helps Mail do a much better of handling attachments - giving much more control over how they are viewed/arranged/received. It's available from http://lokiware.info/Attachment-Tamer
(Usual caveat, I've no connection with Lokiware, just happy with their product). -
Dear All,
I am facing problem for aligning the total values at the bottom pf the page.The total values should be displayed exactly at the bottom of "qty" and "price" fields.On the page I have items,description also apart from these qty and price fields.
Any info plzzzzzzzzzzzzzzzzzzzz..Hi,
Try aliging your values using the TableLayout.
Thanks. -
I want to display many records in the same jsp page
Hi,
i want to display many records with in the same jsp page providing the next,previous,first last .
give me clear idea how to do that one
note :only using servlets,jsp,jdbc and javascriptI believe that this is the fourth time this question has been asked by the same person
http://forum.java.sun.com/thread.jspa?threadID=720977&messageID=4159465#4159465
http://forum.java.sun.com/thread.jspa?threadID=720945&messageID=4159338#4159338
http://forum.java.sun.com/thread.jspa?threadID=720919&tstart=0 -
Query to display multiple counts in the result
Hi,
I need to be able to display multiple counts for different items in the single result set:
Here is the simplified schema:
I have 2 tables:
STATEMENT table:
===============
statement_pk number,
department varchar2(20)
STATEMENT_INFO table:
===================
statement_info_pk number,
statement_fk number
is_statement_done varchar2(1)
is_statement_locked varchar2(1)
I need to display counts of how many records where done and how records where locked in the
single output:
Statement_PK Department NumberOfStatementsDone# NumberofStatementsLocked#
1 ABC_dept 3 5
2 DEF_dept 4 8
3 XYZ_dept 7 2
The following does not work:
SELECT
s.statement_pk,
s.department,
COUNT(r.statement_info_pk ) NumberOfStatementsDone# ,
COUNT(rr.statement_info_pk ) NumberOfStatementsLocked#
FROM STATEMENT s ,
STATEMENT_INFO r,
STATEMENT_INFO rr
WHERE
s.statement_pk = r.statement_fk
AND s.statement_pk = rr.statement_fk
AND is_statement_done = 'Y' AND rr.is_statement_locked = 'Y'
GROUP BY statement_pk, s.department
I was trying to work with analytic function but could not figured it out either.
Please help
Thanks,
Ia.this would be something like:
SQL> r
1 select statement_pk,
2 department,
3 sum(decode(is_statement_done, 'Y', 1, 0)) statement_done,
4 sum(decode(is_statement_locked, 'Y', 1, 0)) statement_locked
5 from statement_info,
6 statement
7 where statement_fk = statement_pk
8* group by statement_pk, department
STATEMENT_PK DEPARTMENT STATEMENT_DONE STATEMENT_LOCKED
1 ABC_dept 4 1
2 DEF_dept 6 2
3 XYZ_dept 1 2
SQL> Message was edited by:
Leo Mannhart
Craig you were faster -
Need Help in displaying data labels at the top of the bars in CFCHART
Hi,
I have a cfchart with two line series and one bar. I want to display the data values at the top of the bar and the line series. Below is the XML I am using:
<cfsavecontent variable="chartStyle">
<?xml version="1.0" encoding="UTF-8"?>
<frameChart is3D="false" isMultiline="true">
<frame xDepth="12" yDepth="11" outline="black" stripColor="light_gray">
<background maxColor="black"/>
</frame>
<yAxis scaleMin="0" scaleMax="30">
<labelFormat pattern="###"/>
<parseFormat pattern="###"/>
<labelStyle orientation="Horizontal"/>
<titleStyle font="Arial-11-bold" isMultiline="false"><![CDATA[
#Vehicles ]]>
</titleStyle>
</yAxis>
<yAxis2 scaleMin="0" scaleMax="30">
<labelFormat pattern="###"/>
<parseFormat pattern="###"/>
<labelStyle orientation="Horizontal"/>
<titleStyle font="Arial-11-bold" isMultiline="false"><![CDATA[
Profitability ]]>
</titleStyle>
</yAxis2>
<dataLabels foreground="black" font="Arial-12-bold"/>
<legend allowSpan="true" equalCols="false" halign="Center" isMultiline="true" placement="Bottom"><decoration style="None"/></legend>
<elements place="Stacked" drawOutline="false">
<series index="1" place="Stacked">
<dataLabel style="value"/>
</series>
<series index="2" place="Stacked">
<!--- <![CDATA[#summaryQuery.quotes[i]#+#summaryQuery.orders[i]#]]> --->
</series>
<series index="3" place="Stacked">
<!--- <![CDATA[#summaryQuery.quotes[i]#+#summaryQuery.orders[i]#]]> --->
</series>
<series index="0" place="Stacked" shape="Line" isSecondAxis="true">
<dataLabel style="value"/>
</series>
<series index="1" place="Stacked" shape="Line" isSecondAxis="true">
<dataLabel style="value"/>
</series>
</elements>
<table>
<heatmap isEnabled="false" minLevel="0.0" maxLevel="0.0"/>
</table>
<popup background="white" foreground="black"/>
<paint isVertical="true" min="26" max="76"/>
<insets right="5"/>
</frameChart>
</cfsavecontent>
Can anyone please tell me what is the mistake i am doing.
Thanks in advance,
Jeevan Pulugu.Hi,
Probably you need to find a way to enhance the standard code.
But make one thing sure that the code (included bu you) gets fired only when that specific report is being executed. Else it may harm the standard functionality.
Hope this helps you.
Regards,
Tarun -
Percentage of Total Count of Category in Raw Data Column in Pivot Table
I have normalized my data in Excel and I have a column: "question 1" and then a column for "gender" which has values as "female" and "male". I have created a pivot table for these two variables, "Gender" and
"Question 1". My values for Females and Males from the Gender data are presented within my pivot table. I want to present these numbers as percentages of Total "Females" and "Males" that are in the "Gender" column in
my master dataset. Pivot tables will only allow me to do %'s of data already in the pivot table
I am attempting to use Calculated Fields within Pivot Tables to resolve this. I do not want to create a separate column in my master data set, but rather, complete all calculations within the pivot tableThank you very much,
The steps you provided use the total "gender" within the pivot table as the "grand total".
If I have a binomial variable, "gender" with "male" as one of the variables, I need the grand total be the total male in the raw data.
Example: if there are 100 total males in the raw data for the column "gender"
and I construct a pivot table with a dependent variable which is a survey question and "gender" and 30 males "agreed" with the survey question and 20 females "agreed" with the survey question, your instructions for % of grand total would show 60% for
males who agree [males + females who replied to the survey question],
when, what I need is the total males in the raw data, 100, used as the total so that the percentage of males who answered "agreed" to the survey question is 30% of all males.
Thank you very much -
I just downloaded the new IOS 7 update, and noticed that in the top slid down menu. I lost my twitter and facebook status inputs. Where you could write status with out opening the apps. I would love this back !!
Tell Apple.
No one in these user to user technical support forums can make it magically happen.
Although if there's a setting to change it, that would be covered in the User's Guide.
Maybe you are looking for
-
I have a time machine backup file on a USB hard drive. I bought a time capsule / airport extreme, flat 3TB. I wish to transfer the backup file from the usb hard drive to the time capsule hard drive. 10.6.8
-
Problem to creating Inspection Lot
Hi, I am creating inspection lot using fm as mention below, with inspection type '89'. call function 'QPL1_INSPECTION_LOT_CREATE' exporting qals_imp = l_qals rmqed_imp = l_rmqed importing e_prueflos = l_prueflos e_qals = l_qals subrc = l_subrc. if sy
-
Hi I am working with JDO. I want to auto generate the primary key value that should increment for each entry into database. How can i do it, please guide me. Any link or doc will be appreciated. Regards Osman
-
When I open downloaded software, I get a message "Verifying xxx.pkg" which never stops. What is the problem?
-
SCSM 2012 - 'Assign to Me' fuction in Manual Activities
Hi, The assign to me function I have in the task bar for manual activities doesn't seem to be working. When I click it a black box flashes up and then disappears quickly, but the activity doesn't get assigned to me. It works ok for incidents and requ