Needs to plot the values in x-axis linearly in obiee
Hello all,
I am trying to plot the values in x-axis linearly .
Actual it should be starting at -100,-50,0,50,100,150,200,250,300,350,400,450........
But now in my graph it is showing -100,-50,-25,-10,-1,+1,+25,+50,+100,+150..
Can you please suggest me, how to achieve the actual values in x-axis.
and also all the questions related to these situation.
Thanking all.
Thanks.
Hi Luis,
find attached an example ( maybe not easy to understand); but you can cut it and reuse it for
your needs. Hope it helps.
regards
Werner
Attachments:
test_sweep.zip 108 KB
Similar Messages
-
I need to plot the Least Squares Regression Line (not just calculate its values with the LINEST function). Can anyone advise me on how to graph this line?
Grapher.app in OS X Utilities is excellent for that : entering data from Numbers Excel etc. into a Grapher "Point Set", plotting all your data, computing and plotting a regression curve linear or exponential or polynomial.
Unfortunately there is not a single word about point sets and regression in the Grapher Help.
So, suggest you download (free) "Instruction for Use - Grapher on web site
http://y.barois.free.fr/grapher/Documentation.html
and go to page 31 to 37, "Initiation > Lesson 6 : Treating a point set (Regression curve), and also page 68, "Appendix 1. Points sets : from speadsheets to Grapher".
If you try Grapher's regression curves, please tell us about the manual above : useful or not, too easy or difficult, readable or not etc.
Thank you.
YB24
PS. Documentation about Grapher is also here : Google "Apple Grapher" > http://en.wikipedia.org/wiki/Grapher > Article > Talk > Grapher 1.1 to 2.3 (French and English) (11th september 2012) -
How to display the value of level axis in a scattered graph
hi All,
I have created a scatterd graph and i am able to show the X-axis and Y-axis values as tool tip. my requirement is to display the value of level axis also within the tool tip.
please help me to configure the value of level axis as tooltip.
thanks in advanceHi,
Thanks for the reply. i was able to configure the tool tip for X and Y axis, but i was not able to shoe the third or level axis value in the tool tip.
please help me in configuring the third or level axis value in tool tip.
thanks in advance. -
I need to get the value of a text field that is located in another page JSP
I need to get the value of a text field that is located in another page JSP. How do I do that?
Well you see, I have a page at angelfire.com, which
does not support JSP. I want to call a script located
at mycgisever and then, when pressing a link on the
former page, the JSP page is loaded, and the script
get the value from the text field on the OTHER page.
Is this possible?I know nothing about cgi. But that should not prevent me from understanding what can and cannot be done, assuming cgi is sort of comparable with jsps.
I'm unable to understand your description clearly. Try to explain it better. Give precise steps that you intend to follow and I should be able to help you further.
So you have a page1.
You hit submit from page1.
That goes to the cgiserver.
From the cgiserver, programmatically load up the jsp.
search this for the text field.
Display it on your page2.
Is that what you are trying to do?
BTW, won't be able to help you with cgi scripting at all. Can help with Java and Jsp. -
Need to pass the value from UI
Hi!!
I am using jdeveloper 11.1.1.5
I had dragged and dropped Three Input Text Boxes in my UI
I need to pass the values from the UI to my AMImpl Methods
i.e. In my AMImpl Methods
vo2.setNamedWhereClauseParam("year",[af:ImputTextBox1]);
vo2.setNamedWhereClauseParam("period",[af:ImputTextBox2]);
vo2.setNamedWhereClauseParam("bu",[af:InputTextBox3]);
vo2.executeQuery();The links given by Vinoth and jabr is very usefull for me!!
Still i m receiving an while i clicked the button
Cannot convert MEL of type class java.lang.String to class oracle.adf.view.rich.component.rich.input.RichInputText
Cannot convert 201011 of type class java.lang.String to class oracle.adf.view.rich.component.rich.input.RichInputText
Cannot convert 5 of type class java.lang.String to class oracle.adf.view.rich.component.rich.input.RichInputTextEdited by: wilhelm wundt on Dec 18, 2011 10:00 PM -
How to call procedure inside a procedure and need to sore the value in a variable?
HI ALL,
i am usung oracle 11g.
here is my package and procedure
i want to call get_email_details this procedure inside the process_email_master and want to keep the value inside a varible in master procedure
create or replace
PACKAGE ms_gen_process_email
as
type email_type is record(subject varchar2(4000 char),
email_body varchar2(4000 char),
to_receipent varchar2(4000 char),
cc_receipent varchar2(4000 char));
type email_type_table is table of email_type;
procedure process_email_master(
p_metric_name IN VARCHAR2,
p_current_stage in varchar2,
p_action in varchar2,
p_pid in number,
P_OBJECT_ID in varchar2
--p_emai_master out p_email_type_table
PROCEDURE get_email_details (
p_metric_name IN VARCHAR2,
p_current_stage in varchar2,
P_ACTION in varchar2,
p_email_type_table1 out email_type_table
END ms_gen_process_email;
create or replace
PACKAGE BODY ms_gen_process_email
as
procedure process_email_master(
p_metric_name IN VARCHAR2,
p_current_stage in varchar2,
p_action in varchar2,
p_pid in number,
p_object_id in varchar2
as
begin
null;
EXCEPTION
WHEN OTHERS
then
null;
end process_email_master;
PROCEDURE get_email_details (
p_metric_name IN VARCHAR2,
p_current_stage IN VARCHAR2,
P_ACTION in varchar2,
p_email_type_table out email_type_table
as
BEGIN
select subject, email_body, to_receipent, cc_receipent
bulk collect into p_email_type_table
from ms_gen_email_config_detail
WHERE email_key = (
SELECT email_key
FROM ms_gen_email_config
WHERE metric_name = p_metric_name
AND action = p_action
and current_stage = p_current_stage
for i in p_email_type_table.first..p_email_type_table.last loop
dbms_output.put_line(p_email_type_table(i).subject||p_email_type_table(i).email_body||p_email_type_table(i).to_receipent||p_email_type_table(i).cc_receipent);
end loop;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END get_email_details;
END ms_gen_process_email;
but i am getting this error
Error(15,31): PLS-00201: identifier 'P_EMAIL_TYPE_TABLE' must be declared
Regards
DambyIf you need to call a procedure which has yet to be defined in your package, you can use forward declaration...
That means that you declare the procedure/function before the place it's going to be called (typically people do this at the top of the package) without providing a body for the code...
PACKAGE BODY ms_gen_process_email as
PROCEDURE get_email_details
p_metric_name IN VARCHAR2,
p_current_stage IN VARCHAR2,
P_ACTION in varchar2,
p_email_type_table out email_type_table
); -- Forward declaration of get_email_details procedure
procedure process_email_master(
p_metric_name IN VARCHAR2,
p_current_stage in varchar2,
p_action in varchar2,
p_pid in number,
p_object_id in varchar2
as
begin
null;
EXCEPTION
WHEN OTHERS
then
null;
end process_email_master;
PROCEDURE get_email_details
p_metric_name IN VARCHAR2,
p_current_stage IN VARCHAR2,
P_ACTION in varchar2,
p_email_type_table out email_type_table
) as -
Need to get the values from "Signed" field from PDF form.
Hi,
This is Dinesh. I am PHP Developer. My issue is "I am not able to get the value of "signed" field from the PDF form when the form has been submitted.". I want to get the Digital Signature value of that field and i need to store it in the DB.
Please help me here Or Please forward this issue to any of the PHP developer who solved this issue and let me know.
Thanks & Regards
DineshHi Vikas,
you can use this badi MRM_WT_SPLIT_UPDATE, the method will be WHTAX_SPLIT_UPDATE
in this badi please see the importing and exporting parameters, you will get the values of withholding tax code as TE_RBWS in export parameters.
Please search in google or SCN you will get how to use it. -
Need to condense the value of VBELN in to new variable.
Here in this code..I had defined a Local variable LV_VBELN LIKE VBRK_VBELN and VBELN is Type c (10).
The function module that I had used in the Import Parameter
you can see the BRANCH...Its type is C (4).
I am passing the value of VBELN to the Import parameter in the function module. As it result it is throwing the short dump.
I need to declare a new Local variable of type c with length 4 and condense the VBELN value into this local variable and pass it to the Functino module.
Can anyone suggest me with the code.
Here is the code.
DATA: ADDRESS LIKE SADR,
BRANCH_RECORD LIKE J_1BBRANCH,
CGC_NUMBER LIKE J_1BWFIELD-CGC_NUMBER,
ADDRESS_VALUE LIKE ADDR1_VAL.
DATA : LV_VBELN LIKE VBRK-VBELN. "Local Variable for vbrk-vbeln
--->Select single bupla into lv_vbeln from vbrk where vbeln EQ is_bil_invoice-hd_gen-bil_number.
CALL FUNCTION 'J_1B_BRANCH_READ'
EXPORTING
BRANCH = lv_vbeln
COMPANY = is_bil_invoice-hd_org-comp_code
IMPORTING
ADDRESS = ADDRESS
BRANCH_RECORD = BRANCH_RECORD
CGC_NUMBER = CGC_NUMBER
ADDRESS_VALUE = ADDRESS_VALUE
EXCEPTIONS
BRANCH_NOT_FOUND = 1
ADDRESS_NOT_FOUND = 2
COMPANY_NOT_FOUND = 3
OTHERS = 4.
IF sy-subrc = 0.
st_txt-cnm1 = ADDRESS-NAME1. " Name 1
st_txt-cnm2 = 'BRAZIL'.
st_txt-cnm3 = ADDRESS-STRAS. " House address & street
st_txt-cnm4 = ADDRESS-ORT01. " City
st_txt-cnm5 = ADDRESS-PSTLZ. " Postal code
st_txt-cnm6 = 'Tel:'.
st_txt-cnm7 = ADDRESS-TELF1 " Telephone no.
st_txt-cnm8 = ADDRESS-TELFX. " Fax number
*Commmented and added to avoid hard code CNPJ
st_txt-cnm9 = 'CNPJ ' + CGC_NUMBER. " CGC number (company,branch,check digits)
CONCATENATE 'CNPJ' CGC_NUMBER INTO st_txt-cnm9 SEPARATED BY SPACE.
**End of changes
ENDIF.Hi Kittu,
The length of BRANCH is 4 but the length of VBELN is 10.
DATA: LV_VBELN like VBRK-VBELN. "Local Variable for vbrk-vbeln
The short dump is due to TYPE MISMATCH. So try to declare in the following way...
Declare like this....
DATA: LV_VBELN like J_1BBRANCH-BRANCH.
Best regards,
raam -
I need to add the values stored in the session object into the html textbox
Dear Sir,
i have been trying to create an edit employee details page
What i have done till now is as follow:
1. Got employee id from HTML page.
2. Compared it with the id stored in the database.
3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.
4. Dispatched the session values to another servlet EditEmpDetails2.java
what i need to do now
5. Now i need to set the session values in the text field of the html form
6. I also need to be able to edit those vales and store the edited values in the database.
Please help me as i have tried doing it for 1 week without any clues
i have tried to create a html page which is something like this:
<html>
<head>
<title>Edit Employee Details Page</title>
<body BGCOLOR="red" text="black">
<h1 ><font color="black">Edit Employee Details Page</font></h1>
<form action = "EditEmpDetails" method="Get">
<table width="50% align="center"
<tr><td>Employee ID: </td>
<td><INPUT TYPE="TEXT" name="employeeid"<br></td></tr>
<tr><td><center><input type="submit" value="submit"></center></td></tr>
<tr><td><center><input type="reset" value="reset" ></center></td></tr>
</table>
</form>
</body>
</html>
design of my servlet EditEmpDetails.java
public void EditEmpDetails1 extends HttpServlet
public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException
PrintWriter out = response.getWriter();
response.setContentType("text/html");
HttpSession session = request.getSession();
String employeeid;
String X = request.getParameter("employeeid");
System.out.println("Employee iD:" + X);
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:murphy");
String query = "Select * from users where employeeid=?";
PreparedStatement stat = con.prepareStatement(query);
System.out.println(stat);
stat.setString(1,X);
ResultSet rs = stat.executeQuery();
while(rs.next())
String Z = rs.getString(password);
if(Z.equals(X))
String A = rs.getString(1);
session.setAttribute("employeeid", A);
String B = rs.getString(2);
session.setAttribute("firstname", B);
String C = rs.getString(3);
session.setAttribute("lastname", C);
String D = rs.getString(4);
session.setAttribute("gender", D);
String E = rs.getString(5);
session.setAttribute("dateofbirth", E);
String F = rs.getString(6);
session.setAttribute("address", F);
String G = rs.getString(7);
session.setAttribute("postalcode", G);
String H = rs.getString(8);
session.setAttribute("phone", H);
String I = rs.getString(9);
session.setAttribute("mobile", I);
String J = rs.getString(10);
String url = "/EditEmpDetao;s.java";
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url)
dispatcher.forward(request,response);
catch (Exception e)
system.out.println(e)
I do not know how to put the values stored in the session object into the html text box3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.do you really need to store this in session object?
5. Now i need to set the session values in the text field of the html form which form? in a new html/jsp page? i suggest go for a JSP
In your JSP page use JSP expression tags to put the session attributes.
it's something like : <input type='text' name='employeeid' value='<%= session.getAttribute("employeeid") %>' >and you need to generateanother servlet for saving the details/modifications to the database.
I think i m clear enough.
if you need more clarifications. just try it and then post your problem.
Diablo -
Need to retain the values of LOV in Apex
Hi,
I had created three lovs namely A,B, and C in which A is the parent of B and C is an independent LOV. For parent child realtionship between the LOVS A and B, I had used the Ajax on demand process.
Now in my project all the three LOVs are mandatory, so what i want if suppose any user clicks on submit button without selecting any value from LOV C, then it must load to the same page and show an error. My problem is that after the page load, LOVs A and B are not retaining their earlier values and set to default values In my application I want to retain them.
I hope my problem is clear.
Please help.
Thanks
SaurabhOK, now it is a different story.
First, you don't need to remove the page# from the action section as long as it is NOT in the clear cache attribute.
Second, You said that you are using AJAX to load the value of B , and I beleive that currently you have a JS that fires OnChange on item A. You need to call the same JS code when loading the page as follows:
In you page attributes :
Page HTML Body Attribute>> onLoad="your_function();"
where your_function is the same function you call when you change A's value to get B's value..
Hope this helps.
Sam -
Is it needed to convert the values frm text field to numeric for sql server
hi all,
i'm using tomvat4.0,back end sql server 200.
when i insert the values in to the table it is giving an exception sayin "Error in converting varchar to numeric"
is it necessary to convert those strings from text fields into int before passing them to the sql query..
i think it is not necessary for oracle..but not sure with sql server..
pls help me
cheers
chanduyap, every thing is fine...
n i got the solution...when the text field is left blank....the requst.getParameter returns [coe]""(null)
wen the database is lookin for a numeric it is giving null...which is not acceptable...
so inserted this code...
if(request.getParameter("...").equals("")) {
//assign zero to a variable then insert that variable....
}thanx for the responses
cheers
May the solutions to one's problem pop up in one's mind itself
chandu -
JTree - need to get the value of a node at a specific node in the tree
For Example here is a tree:
Root
-Item1
A
B
C
-Item2
A
B
C
Scenario: Somebody selects B in Item2 from the tree and drags it to a JList. Need to be able to tell the JList that the B came from Item2 and not Item1. So how do I get the Item1, Item2 value? Thanks in advance for all your help.
Here is the code I am working with...so I have a TreeSelectionEvent(e), a DefaultMutableTreeNode(node) and my JTree(mainTree)
public void valueChanged(TreeSelectionEvent e) {
DefaultMutableTreeNode node = (DefaultMutableTreeNode) mainTree.getLastSelectedPathComponent();
getChildren(node);public void valueChanged(TreeSelectionEvent e) {
javax.swing.tree.TreePath path = e.getPath();
...Then use path.getLastPathComponent() and path.getParentPath().getLastPathComponent() methods.
Tristan -
How to get the Values i need from a String???
hi i need some help on my program,
I have a Server that actually sent some data to my Client.
The data consist of some messages and intergers . The whole piece of data is stores as a String message.
ARRAY 'Monitor Chart' 2 5
'Total OverFlow' 'Queued' 'Completed' 'Host Resets' 'Errors'''
0.0 1.0 2.0 3.0 4.0
'Series1' 11.0 0.6 8.6 11.5 6.6
'Series2' 12.8 6.7 21.6 11.1 30.0Inside the Client i need to get the values out to showed on my textfields
Example :
Tf1 = 11.0
Tf2 = 0.6
Tf3 = 8.6
Tf4 = 11.5
Tf5 = 6.6
Question: How to i get the values out from the String???using the split() method. i am able to split everything now
so it appear somthing like this :
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
public class testing{
String d1 = "ARRAY 'Monitor Chart' 1 5";
String d2 = "'Total OverFlow' 'Queued' 'Completed' 'Host Resets' 'Errors'";
String d3 = "'' 0.0 1.0 2.0 3.0 4.0 ";
String d4 = "'Series1' 11.0 0.6 8.6 11.5 6.6 ";
String d5 = "'Series2' 12.8 6.7 21.6 11.1 30.0 ";
String data = d1 + d2 + d3 + d4 + d5;
public testing(){
System.out.println(data);
String[] result = data.split("\\s");
for(int x=0;x<result.length;x++)
System.out.println(result[x]);
public static void main (String args[])throws IOException{
testing Application = new testing();
}ARRAY
'Monitor
Chart'
2
5
'Total OverFlow'
'Queued'
'Completed'
'Host Resets'
'Errors'''
0.0
1.0
2.0
3.0
4.0
'Series1'
11.0
0.6
8.6
11.5
6.6
'Series2'
12.8
6.7
21.6
11.1
30.0
but how do i get the values out ??how do i noe it is which index or wad?
11.0
0.6
8.6
11.5
6.6 -
Hi
-- I have a PL/SQL in which it return an array value and I need to get the value using Java.... any idea how?
thanksCheck out CallableStatement:
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/CallableStatement.html -
How to make the values of a combination graph (bar and line) visible always
Hi ,
I am using jdev 11.1.1.6
i have created a combination graph which has a bar and line.
The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
i need to set the values visible always.
kindly let me know how to make it.
In pie graph its by default showing the data always.
regards
SivaHi Sameh Nassar,
Thanks for the input, am using the combination graph and i dont have this property added till now.
i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
please correct me if am wrong.
This is my combination graph structure.
<dvt:comboGraph id="comboGraph1"
value="#{bindings.testVO1.graphModel}"
subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
<dvt:background>
<dvt:specialEffects/>
</dvt:background>
<dvt:graphPlotArea/>
<dvt:seriesSet markerDisplayed="true">
<dvt:series lineWidth="0"/>
</dvt:seriesSet>
<dvt:o1Axis/>
<dvt:y1Axis/>
<dvt:y2Axis/>
<dvt:legendArea automaticPlacement="AP_NEVER"/>
<dvt:graphTitle text="Combination graph"/>
<dvt:o1Title text="x axis"/>
<dvt:y1Title text="y1 axis"/>
<dvt:y2Title text="y2 axis"/>
</dvt:comboGraph>
regards
Siva
Maybe you are looking for
-
I'm trying to isolate skin with a secondary layer and am successful. I want to blur the skin to reduce blemishes but when doing so the blur and degrain sliders don't seem to have an effect. Can I apply a gaussian blur fx on just that secondary? Can'
-
Adding Items to the Same Album
After Uploading a fair few MP3's from my friend's external hard-drive, I found that they weren't correctly named, and decided to rename them. I tried to find the CD track names, but some of the album names were not correct. After renaming them, I fou
-
Hi , i m unable to run a java3d application .its giving err as "java 3d extensions not installed" plz help me solving it tnx
-
How do I export a clip in background while I continue to work on other clips?
While I am publishing a clip, is there some way to do it in a background process so that I can continue to work on editing other clips while PE is publishing the video? Right now, I have to wait for the first clip to be published and then only I ca
-
Hey there My iphone 5 was originally purchased from singapore. I have noticed a black spot on my camera when i take pictures of while it is on standby I currently reside in canada, but how can i get this problem fixed? Is it possible my local apple s