Processing data from a bar graph
Hi,
I use JDeveloper 11.1.1.6.0
My VO contains 6 attributes. Two of them are displayed in a bar graph. I have created ClickListener bean, where I'm able to get X,Y values from selected bar (using methods getValue and getGroupAttributes from DataComponentHandle class).
Is it somehow possible to get also values from the rest 4 attributes, which are not displayed in the graph? I need to process these values programatically in my backing bean.
One way is to make a db query from my backing bean. Is there any other possible solution, without db access, just using data from ClickEvent?
Thanks a lot for ideas.
Daniel
I have solved this task in folowing way:
I have add ADF read only form to my page (which I need anyway). The form displays data selected in the graph (using another VO, which is linked to graph VO). Command button calls my managed bean, which handles the data via the bindings executables (view iterators).
Similar Messages
-
Good for processing data from a web application?
It seems like all the examples provided for ASA are about processing data streaming in from IoT or mobile apps. Is ASA appropriate for processing data from websites? For example, I have a multi-tenant web API and I need to roll up usage and calculate billing
for my clients. My clients can upload resources with me which I store in blob storage. But blob storage gives me no way of knowing how many resources have been uploaded and how long I have stored them. Would ASA be a good fit for calculating these figures?I have solved this task in folowing way:
I have add ADF read only form to my page (which I need anyway). The form displays data selected in the graph (using another VO, which is linked to graph VO). Command button calls my managed bean, which handles the data via the bindings executables (view iterators). -
Remove decimals from the Bar Graph..
Hii,
How to remove the Decimals from the Bar Graph.
I am using Reports 9i.
I have created a Bar Graph in that It is showing the decimals bar. Actully in the query i hv used the inbuild function Round but while i run the report it is showing the decimals.
It is showing if the value is under 10 then 3 decimals. Value is between 10 to 100 then 2 decimals. 100 to 1000 is 1 decimal.
How can i remove the same.
Also in the X axis how can I put the description of a field. While i take the description fiel it is showing some exception error.
Description field width is 50 Now I am showing the code field only have 3 digits.
Please check this also...
remove decimal places
Thanks in Advance
JitheshHi Simran
1. You can get proper variable without decimal point.
2. Use function "FLOOR" and get the output value assigned to variable defined in step 1.
data : wv_wh_no type p decimals 0 . -
you take as per your requirement
Let say,
wv_dec_no = 1.0001.
w_no = FLOOR(wv_dec_no).
Hope it will help you.
Regards,
Anil Salekar -
TO Get Ensuring Exactly Once Processing data from sender soap adapt
To XI Specialists
Now Im trying to get Ensuring Exactly Once Processing data from sender soap adapteter.
My plan is that send data from Receiver adapter, to Sender adapter by SOAP.
(1st interface is ABAP to Soap "BE", 2nd interface is Soap to File "EO")
Sender SOAP adapter will returun Ensuring Exactly Once Processing data.
(see SAP HELP, http://help.sap.com/saphelp_nw70/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm )
AND I want to get Ensuring Exactly Once Processing data, I want to determine what to do in ABAP proxy.
SO I made and tested 2interface. but error occuered.
I checked the error, and Now I know what is the cause.
The cause is that Ensuring Exactly Once Processing data didnt enter the payload, at Receiver Adapter.
1st interface coulnt get the payload data, so mapping error occuered....
Please give me help,
<b>"How to get Ensuring Exactly Once Processing data From Sender SOAP ADAPTER"</b>
or
<b>"How to enter Ensuring Exactly Once Processing data into Payload of Receiver SOAP ADAPTER"</b>
and more excelent way....
our XI is version7.0 and SP10
Please teach me your wisdom!
Naoki KuriharaI seeked and I noticed that
maybe I catched the message but the message dont have payload.
so I got no_payload error.
I checked SAP note.
I noticed, no_payload error will be managed to nomal message at SP13....
my XI is SP12....
I ll seek for another way!!
Thank you! noaki -
Displaying current and previous 5 Year data in a bar graph
Hi ,
My requirement goes like this .....
I have to show revenue (measure) data based on current year (period dimension) selection (from a dashboard prompt) and previous 5 year data's as well .
i.e. if user selects 2013 , the bar graph will display 6 bars ... 2013,2012,2011,2010,2009,2008.
I am trying to achive this with filter on Year column , on the main report ....*"is based on results of another analysis"*
But haven't made any progress .
Thanks
sayaksayak wrote:
Hi ,
My requirement goes like this .....
I have to show revenue (measure) data based on current year (period dimension) selection (from a dashboard prompt) and previous 5 year data's as well .
i.e. if user selects 2013 , the bar graph will display 6 bars ... 2013,2012,2011,2010,2009,2008.
I am trying to achive this with filter on Year column , on the main report ....*"is based on results of another analysis"*
But haven't made any progress .
Thanks
sayakFollow this link. It will give you greater flexibility for you end users and therefore a better report.
http://oraclebizint.wordpress.com/2008/03/11/oracle-bi-ee-101332-rolling-yearmonth-and-date-filters-moving-window-filters/ -
Data display on Bar graphs - Needs help
Hi,
I am facing a problem with discoverer's bar graphs.
There is a 2D Bar Graph, which is required to display the respective strength for all the classes on the axis(e.g regionwise sales for North, West, East, South). In Oracle discoverer the sales is shown only when the mouse is pointed over the respective bar but that too at the bottom. The fixed values of the sales is not being displayed above each bar permanently.
But the client requirement is to display the strength for each class above each bar numerically so that a print out can be taken along with values.
Please suggest how can this be done.
GogaOn the Plot Area tab, check the "Show Data Labels for bars". To the right of that, clicking the "Options" button will let you place the labels above or in the bars.
Also, check that the graph background color is not the same as the font color. -
Passing XML in CLOB and processing data from CLOB
Hi All,
I am facing problem when trying to access xml data from CLOB.
My stored procedure is as below:
CREATE OR REPLACE PROCEDURE usp_XMLTEST2
in_XmlDoc IN CLOB
IS
BEGIN
UPDATE XML_TEST
SET SETFLAG='N'
WHERE (ITEMCODE,WAREHOUSE) IN
SELECT
TO_NUMBER(EXTRACT(COLUMN_VALUE,'//Entry/@ItemCode')) ,
TO_NUMBER(EXTRACT(COLUMN_VALUE,'//Entry/@Warehouse'))
FROM TABLE(XMLSEQUENCE( EXTRACT(XMLTYPE(in_XmlDoc), '//List/*' )))
END usp_XMLTEST2;
Exec usp_XMLTEST2('<List Daemon="2"><Entry ItemCode="112333" Warehouse="4101" /><Entry ItemCode="112333" Warehouse="4103" /></List>');
It gives error:
ERROR at line 1:
ORA-22905: cannot access rows from a non-nested table item
ORA-06512: at "PUBLIX.USP_XMLTEST2", line 8
ORA-06512: at line 1
Please devise solution to this problem.
Regards
Nitin BajajTry casting it:
SELECT TO_NUMBER(EXTRACT(COLUMN_VALUE,'//Entry/@ItemCode'))
TO_NUMBER(EXTRACT(COLUMN_VALUE,'//Entry/@Warehouse'))
FROM TABLE(cast( XMLSEQUENCE( EXTRACT(XMLTYPE(in_XmlDoc), '//List/*' )) as XMLSequenceType ) )
Anton -
Hey,
I'm writing a small program that takes user input from a client applet and sends it to the server where it is then processed and a response given. I set it up ok processing typed data at the command line but now I want to interpret clicks on UI components in an applet that I have created. How do I write directly to the client's output stream?
For example if a user selects the left hand-side button on my client interface, this would create the sentence "left button clicked" like a protocol and then that sentence is passed to the server. Where upon the server receiving this sentence it is processed in some way. I know how to detect the click but it is the process of getting my client to inform the server of the event that I am struggling with.
Thanksdid you manage to set up a conn?Well when I start the server up it sits and waits for a connection, then I load the client and after the client has launched the listening server does correctly start up a server thread to handle the connection and this is confirmed with some output on the server's console. So it does know there is a connection. As to whether the server receives what I send I don't know, since my very question is how do I send :)
When creating the command line version I had no problem, since the processing of text at the command line is automatically handled. I type something, press enter and the readLine() sees it and breaks the null while loop. However, now I am not typing anything, and I want to know how do I pass data. Can I send my data to an applet equivalent of the command line making it look like I have typed or do I do it some other way?
How do I take care of the http tunelling? -
How to get the data from a waveform graph?
Hellow!
I have a waveform graph which has the experiment signal, so how can i do to save the X,Y data in a file?
thanks!
MikeHii,
You can store the data as shown in the vi, just use the signal data by converting it into the numeric form and give it instead of random data.
Hope this will help.
Thanks,
Nishant
Message Edited by Nishant on 04-16-2006 11:21 PM
Attachments:
file write.vi 31 KB -
Needs help to process data from a form in php
Hello there,
Under "About us", is the contact us page where I would like
to collect data. But I could not get it processed.
I used but am very new to php. Anyhow, what I want to process
is to send all the data collected to my email address, and at the
same time, to display a simple Thank You page. I am attaching my
code.
I certainly HOPE someone can help me out as I have been
trying for quite a while now and need to get it done ASAP...
Many Thanks,
matt
TextHi Sayaf
It sounds like you need to use "Array Subset.vi" to split the 2000000 into 250000 element blocks.
Set the index on Array Subset to 0 and then increment by 250000 after processing and displaying each block.
Good luck
Neil -
How to process data from a device similar to eeprom
I got this programm attached. but I want to process the data in the same programm. Thats what I want to do: To compare the number in the second register with a constant. The same with the number in the third register. How can I do that?
Attachments:
Reichw&Verst.vi 132 KBI am not sure if I understood the question correctly, but have a look at the vi (version LV8) or the screenshot. Maybe it gives you an idea how to proceed.
Message Edited by IngoS on 07-03-2006 02:16 PM
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany
Attachments:
compare array.zip 136 KB -
Using stored parameter from data control class with stacked bar-graph
Hi folks,
I'm relatively new to ADF & EJB so I want to apologise in advance if this question seems rudimentary to many of you.
Edit: I should have mentioned that I'm using JDeveloper 11.1.1.5
I'm having a hard time determining how to retrieve the value from a variable to be assigned to a property of the bar graph I'm trying to display on my JSF page.
I have tried to briefly summarise the logic below for reference.
I have a data control class (ActivityChart) that includes a method "getActivityDetail" returns a List of custom Objects (ActivityDTO) that are the underlying data for my bar graph.
public class ActivityChart {
private Double axisScale;
public ActivityChart() {
super();
axisScale = 0.0;
public List<ActivityDTO> getActivityDetail(List<String> businessUnits) {
List<ActivityDTO> returnNewList = new ArrayList<ActivityDTO>();
List<TransactionDTO> dataList = new ArrayList<TransactionDTO>();
TransactionSessionBean transBean = lookupTransactionSessionBean();
if (businessUnits != null && !businessUnits.isEmpty()){
dataList = transBean.getActivityData(SystemUtil.getCurrentUser(), businessUnits);
returnNewList = processTransactions(dataList);
axisScale = calcAxisScale(returnNewList);
return returnNewList;
...The TransactionDTO object is basically a mirror of the entity object to store the fields from the queried db transactions.
The ActivityDTO object contains a String value (x-axis label) and 3 Double values for the values required for the bar graph.
What I'm trying to do is dynamically set the scale for the 2 y-axes (I'm using a dual-axis stacked bar graph) because the auto calculated values are not aligned.
Right now I've got the two relevant elements of the bar graph hard-coded with a specific axis value:
<dvt:y1Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>
<dvt:y2Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>.
The value I want to use for the Y-axis is calculated and stored in the "axisScale" variable in the above class.
Really at a loss of how to move forward from here.
Would very much appreciate any guidance/direction offered.
Thanks,
Karim
Edited by: 973742 on Nov 28, 2012 8:12 AMLooks like I may have found the answer!
I had to set up the variable in the bindings for the page and then reference the variable from the binding and add the property inputValue.
ie. value="#{bindings.axisScale.inputValue}" -
To show the data from BI query in bar graph with thousand separator
Hello Experts,
I am using Visual composer 7.0.I have designed an application where i have user BI query to show data as a bar graph.I have roundoff the data to 2 places of decimal an i have to show the data with thosand separator as well.
i am using the formula
NVAL(NSTR(@Actual_value,"C.2"))
Where @Actual_value is a value which comes from BI queryand is to be displayed as a bar graph.
Points will be awarded for reply.
Thanks ,
RakeshHi Rakesh,
I have found some links which may help you.
http://help.sap.com/saphelp_nw70/helpdata/en/38/2d9b732beb4c68bba2962602a7d6bd/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/26/64fb472a144a0dbaf88f5ec75d9270/content.htm
http://oregonstate.edu/dept/computing/warehouse/PDF/8-reports.pdf -
Filter out marked data from XY graph (Draw graph)
Hi there,
I've a question about "filtering" data from an XY Graph, please see the attachement.
The graph shows some sample data (white plot) and a red "ballon" plot (you can press left mouse button
and move over the graph to draw the red plot).
My need is to get all samples inside the red ballon, but presently I got stuck with it!
Any Ideas?!
(The attached VI is saved by LabVIEW2009 version)
Solved!
Go to Solution.
Attachments:
Paint_XY_Graph.vi 24 KBTo determine id a point is inside of the red baloon it must satisfy the condition where the X,Y is less than any X,Y point and greater than any other X,Y point. To filter them out remove outliers from the array or set their values to nan to not plot them
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA -
hi
here i want to extract data from the XY graph . I attached vi which i use for 1D array . how i can use this VI for 2D Array.
Thanks
Solved!
Go to Solution.
Attachments:
select data.vi 28 KBHi
I am facing problem to extract data from XY graph . I need to extract data between two cursors in a graph into an array. I was trying out the method mentioned over here but I couldnt get exact values between cursors.
Thanks
Attachments:
extractdata xygraph.png 103 KB
Maybe you are looking for
-
when trying to print emails, I select "print", select the B110 that comes up on the printer list, then ask to print. I get a screen saying "contacting printer", then "preparing" then nothing.... I can print wirelessly from the laptops. All systems
-
I'm replacing my 3rd gen 16gb Ipod Touch with a new 4th gen Ipod Touch. I'm wondering how I can delete all of the apps, photos, music, etc. from my old Ipod but still have all of the items available to install on my new Ipod? Help please!
-
Need help connecting speakers to soundcard
I need to know what cable/s to connect from my Audigy2 Value to my Creative Inspire 5.1 Digital 5600 speakers. When running the Creative Speaker Settings app, I can never hear the center speaker or subwoofer. Can anyone tell me what I need to connect
-
Hi friend; I had one urgent issue. I am following Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12 [ID 454811.1] I had one issue and i restart to installation but on OUI screen i have, There are no patches
-
JDeveloper 10.1.2.0.0 - Is it possible to use JSP 2.0
Hi!<br> Is it possible to use JSP 2.0 with JDeveloper 10.1.2.0.0, and how?