XY-Graph: How to set number of plots in legends depending in number of plots
Hello,
i have an xy-graph that gets an array of plots. The size of the input array is can be different.
Now how can i set via properties the number of plots shown in the plot-legend?
Thanks
Hi Thomas,
there's a property to determine the number of plots shown in the legend…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
How to set default value of a table using sequence number
Dear all,
Does any body know that how to set default value of a table
using sequence number.
But I don't want to use trigger to do that.
Please help!!!!
EldonAndrew is essentially correct. You can get around the trigger,
but not the sequence, if (and this may be a very big if) you can
guarantee that every time an insert is done into the table, from
whatever source, the statement looks something like
INSERT INTO tbl VALUES (sequence.nextval,other_columns_values) -
Hi ,
I am using Crystal Reports XI R2.
I have specified scale value but user is asking he can decide scale value while running the chart like Y-axis major interval (inclement by) 10, 7, 4, .5, .25 etc.
How to achieve this please give me suggestions.
Thanks and regards,
Manjunath N. JoginI do not think this can be done dynamically, You could build several sections, each with it's own graph,
set the scales in each graph, in its section, and then supress sections based on parameter.
So, you could have one section that is 5,10,15,20 etc.
and another that is 8, 12, 16, 20
depending on what they want. -
ALV Graphs: How to set line type graph as default graph
Hi All,
I need to develop a line graph. The fields on the X-axis will change dynamically. Some times they may be 10 field and some times they may be more than 100 fields. I tried with Function Module GFW_PRES_SHOW_MULT. But I can only display maximum 32 fields. Can anyone tell me exact program which helps me to full fill my requirement. It will be a great help if you could told how do display line type graph as default graph in ALV. In REUSE_ALV_GRID_DISPLAY there is a Exporting parameter MT_CHART_TYPES but this help you only to enter description for X-axis and Y-axis.
Many thanks in advance.I would call GRAPH_MATRIX_2D with options depending on representation you wish
look at the program GRBUSG_1 to see how to use it
there you have some options to display bar chart, but you could use other values (complete list of options is available in documentation of function module GRAPH_MATRIX_2D - click on parameter OPTS in help display to see full explanation)
exemple:
P2TYPE = LN to display lines -
How to set default value in one field depending on other field.
Hi,
I have one requirement.That is..One seede page having 2 field, one is Lov Input field and one more message choice filed.
Requirement is after selecting value in Lov input field need to set one default value in to Message choice field. how to do this one.pls send any sample code for this requirement.
Thanks in Advance,
Hanimi...Hi,
I used following code
OAMessageLovInputBean lovbean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("AssetNumber");
OAMessageChoiceBean Choicevalue=(OAMessageChoiceBean)webBean.findIndexedChildRecursive("EamWrPriority");
if (pageContext.isLovEvent())
String lovInputSourceId = pageContext.getLovInputSourceId();
if(lovInputSourceId.equalsIgnoreCase("AssetNumber"))
if(lovbean!=null)
String slovVal=(String)lovbean.getValue(pageContext);
String prValue = getPRValue(pageContext.getApplicationModule(webBean).getOADBTransaction(),slovVal);
//String prValue = "1";
Choicevalue.setValue(pageContext,prValue);
}// end of processFormRequest
private String getPRValue(OADBTransaction con,String slovVal)
// System.out.println("In WorkRequestDffCO.getContextValue.organizationID" + organizationID);
String prValue = null;
String sql = "select decode(ml.meaning,'AC1',1,'AC2',1,'AC3',3,'AC4',3,null) from FND_LOOKUP_VALUES_VL ml ,mtl_serial_numbers msi where ml.lookup_type = 'MTL_EAM_ASSET_CRITICALITY' and msi.ASSET_CRITICALITY_code = ml.lookup_code and msi.serial_number = 'slovVal' ; //'30AC-TR002B'"
Statement st = null;
ResultSet rs = null;
try
st = con.createStatement(1);
rs = st.executeQuery(sql);
if(rs.next())
prValue = rs.getString(1);
catch(Exception e)
e.printStackTrace();
finally
try
if(st != null)
st.close();
if(rs != null)
rs.close();
catch(Exception e)
e.printStackTrace();
return prValue;
Query is executing but no value is retuning, if i use hard coded value in where condition like '30AC-TR002B' it is tt's returning value . -
Status Agent Not Reachable - How to set a fix port number?
My EM 10g was working fine http://localhost:5500/em
Now when I tried, it was not working. I looked into portlist and found out it there was additional port of 5502
But when I logged into port 5502, Status Agent Not Reachable. Other links were working fine.
I had even installed another DB called REPOS other than the default ORCL.
All the services were up and running and I was just bouncing services back and forth and luckly I got the original port 5500 to work and then I did not got the error "Status Agent Not Reachable".
So I just wanted to know how to set a dedicated port in case the port number changes back to 5502 and if I get the error again.
Thanks in advance.Yes I installed multipe databases for eg ORCL was the default but I installed REPOS.
I did not uninstall the db.
Why does it show two different ports for ORCL 5500 and 5502 and for Repos it shows two ports but they are the same 5501.
Everything is on my local machine.
Following is from the portlist
Ultra Search HTTP port number =5620
Enterprise Manager Agent Port =
iSQL*Plus HTTP port number =5560
Enterprise Manager Console HTTP Port (orcl) = 5500
Enterprise Manager Agent Port (orcl) = 1830
Enterprise Manager Console HTTP Port (repos) = 5501
Enterprise Manager Agent Port (repos) = 1831
Enterprise Manager Console HTTP Port (ORCL) = 5502
Enterprise Manager Agent Port (ORCL) = 1830
Enterprise Manager Console HTTP Port (repos) = 5501
Enterprise Manager Agent Port (repos) = 1831 -
I have written a VI to control an LCR meter and perform sweep functions. I have two x-y graphs on my front panel (one for each of 2 measured parameters). The VI is designed with a button to take a measurement, plot the data, and then wait for another event (like write data, clear plot, or measure again). The user can take simultaneous measurements and these are plotted on top of the data already there in the same x-y graphs (using an array of clusters with shift registers). There is no limit on how many sets of data can be on the x-y graph.
Now, my issue is in formatting the plot lines (color, thickness, marker type). I can fix the first plot line by adjusting the parameters of the x-y graph. However, I also want to control the format of all consecutive plot lines. How can I do this for an arbitrary number of lines? The main thing I want to do is to have all of them show the square marker type (the default is no marker type, just a line).
Thanks!Hi maximum23,
You can use properties of plot to format the plot lines. You just have to select Active plot using property and then select color and line width etc..
You can define color and width etc parameter by asking user or you can just make them default.
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved. -
How to set the number and width of divs of Graph?
Hi, everyone.
As the title, I want to design a virtual scope. And there is something I don't know
how to set about Graph. That is I want to set the number of divs of X-axis and Y-
axis with 10 divs of Y-axis and 8 divs ofX-axis. Additon, i also want to set the
width of each divs. How can I do the setup?
Thanks in advance!There are two ways of doing it.
First, to do it offline, right click on the graph in front panel>> dropdown Menu select 'properties'>> Go to Tab 'Scales' and select relevant values for each axis
Or to do it programatically, create a property node ( as shown in attached pic)>> select property>> x scale range / y scale range>> change it to write>> create a control to it and you can set following attributes: Minimum, Maximum, Increment, Minor Increment, and Start of that particular axis
Hope this helps
Regards,
Dev
Attachments:
graph_scale.PNG 11 KB -
How to set cursor property from "snap-to-plot" to free?
dear all,
is there any one know how to set a cursor property from "snap-to-plot" to "free"?
this cursor is in a XY graphy
i couldn't find coresponding property in the XY graph property node
thank you
JackIt looks like there are different property names depending on your labview version.
You need to select the ActCrsr and then use the Cursor.Lockstyle property in LV7.1
You need to select the ActCrsr and then use the Cursor.CursorMode property in LV8.2. -
Can someone tell me how to set my name so when I send a text it shows up instead of my phone number
Can someone tell me how to set my name so when I send a text it shows up instead of my phone number
You can't do that. Only the sending number is transmitted by the carrier with an SMS message. If the recipient has you in their address book, with most smart phones and some others, the name will display, but that's a function of the phone on the receiving end.
-
How to set the number of seconds a servlet is allowed to run
I use JSP to generate a report, but it will take about 10 minutes to search.
IE Client screen displays an error message what is "Cannot find out your page" after 8 minutes. How to set the number of seconds a servlet is allowed to run.It's not a matter of how long the servlet is running... it's the browser timing out because the servlet hasn't responded to its request.
You have several options:
1) "Browser Pinging"
Your servlet sends some small data which can be either seen or unseen (html comments, hidden chars, etc) by the user at short intervals while your report is running. When the report is finished, the browser will not have timed out because it has been "snacking" on those small bits of data which tell the browser its original request was both heard and being handled. I don't think there is any timeout in IE as long as it receives data continually (or at least before its own timeout mark over and over again...)
2) Multithreaded processing
This would probably be a better approach. Have the report run in a separate thread running on the server. You'd want to store a reference to this executing report in the user's session. Instead of making the browser wait for the report to be finished, have the servlet check the user's session to see if a report exists and is running. If one does not exist, create one and start its execution. If one does exist, and is still running, print a "please wait" type of message OR an animation, etc... along with some javascript which will reload the page every few seconds. If the page reloads and the servlet sees that the report is finished, it can then display it to the user.
Hope this helps,
-Scott -
How to set page number & current date in sqlplus result
how to set page number & current date in sqlplus result
Hi,
Use the TTITLE command. For example:
SET PAGESIZE 15
TTITLE LEFT &_date RIGHT "Page:" FORMAT 999 sql.pno SKIP 2
SELECT ROWNUM
, ename
FROM scott.emp
;Output:
12-Jan-2011 Page: 1
ROWNUM ENAME
1 SMITH
2 ALLEN
3 WARD
4 JONES
5 MARTIN
6 BLAKE
7 CLARK
8 SCOTT
9 KING
10 TURNER
12-Jan-2011 Page: 2
ROWNUM ENAME
11 ADAMS
12 JAMES
13 FORD
14 MILLER
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data. If your question is based on commonly available tables, like those in the scott schema, then you don't have to post any sample data: just post the output.
Explain how you get those results from that data.
Always say what version of Oracle (and other relevant softward, SQL*Plus in this case) you're using. -
How to set the size of SUM()/SUM() of NUMBER Tyep?
I met the oracle truncation error when I post the
SUM(a field)/SUM(b field), a and b field are NUMBER Type
From the OCI Doc, Numbers with up to 38 digits precision.
and I set the size of data buffer 41 for NUMBER TYPE.
(for example)
rc = OCIDefineByPos( hstmt, &m_pDefine, ((CEBOracle *)pDatabase)->m_hpErr, index,
(dvoid *) m_lpszBindData, m_nBufSize+1, SQLT_STR,
(dvoid *) m_cbIndicator, (ub2 *) 0, (ub2 *) 0, OCI_DEFAULT);
I always set the output datatype as SQLT_STR
and m_nBufSize is 41 for NUMBER Type
my client met the error when the result is 0.00012345678912345678912345678912345678912
I think that it's not a solution that just enlarge the number form 41 -> 45
How can I avoid this problem when user send the SQL Statement that the result has unlimited decimal number?
Thank you in advancdORA-01406 fetched column value was truncated
I found the reason of that problem.
I migrated from OCI Ver7 to Ver8
If I set the buffer size to 10 (actually 40 in my program) and the result was
0.0000000000000000001
When I debuged the output buffer
The result was 1.0E-19
but now 0.00000000 and truncation error
how to change floating point and scientific expression automatically depend on the result like OCI Ver7 and SQL PLUS?
I changed define function
odefin(m_hstmt, ii+1, (UCHAR *) m_lpszData[ii], m_lpLength[ii]+1, SQLT_STR, -1, m_lpcbValue[ii], 0, -1, -1, 0, 0);
to
m_rc = OCIDefineByPos( m_hstmt, &pDef, ((CEBOracle*) m_pDatabase)->m_hpErr, ii+1,
(dvoid *) m_lpszData[ii], m_lpLength[ii]+1, SQLT_STR,
(dvoid *) m_lpcbValue[ii], (ub2 *) 0, (ub2 *) 0, OCI_DEFAULT ); -
How to set maximum number of jobs in oracle
Could pls tell explain me about how to set maximum number of jobs in oracle....
Regd,
MahiI don't think there is any limit on number of jobs that can be submitted to Oracle. However, there is a limit on the number of processes that would execute those jobs (governed by JOB_QUEUE_PROCESSES).
Message was edited by:
Satish Kandi
Typo corrected. -
How to set a new SCSI number for a second drive?
How to set a new SCSI number for a second drive?
WalterWalter,
This web site gives a good diagram:
http://www.hitachigst.com/hdd/support/dpes/dpesjum.htm
On a Quantum hard disk drive - they were the original equipment manufacturer (OEM) hard drive provider for Apple, you will see three or four pairs of pins on the green circuit board. They are labled:
AO . .
A1 . .
A2 . .
If no pins are connected, you have SCSI ID Zero This was the standard setting from the factory.
If you short out the pins beside AO .__. , you have designated SCSI ID One.
If you short out the pins beside A1 .__. , you have designated SCSI ID Two.
If you short out the pins beside A2 .__. , you have designated SCSI ID Four.
These values can be added together to get other SCSI IDs. If you have a jumper beside AO AND A1, that will add up to SCSI ID Three.
Some of the quantum drives used tiny black plastic jumpers with tiny metal contacts. I have yet to find a store that sells the tiny ones. I get my larger jumpers from old PC motherboards that are being thrown away. A small piece of aluminum foil will work as a jumper in a pinch. Just make sure it soed not fall off and short something else out!
Jim
PS
CD-ROM drives are set at the factory as ID 3. Internal drives are set at ID 0. I set my external SCSI drive at SCSI 1 so it does not conflict with the internal drive. Internal Zip drives are set at ID 5 and external Zip drives let you choose between 5 and 6. I set my burners at ID 4. Come up with a master plan for your devices like scanners and burners. Apple System Profiler will give you info on the device ID. If the computer fails to boot, turn off all but one SCSI device and make sure of its ID. Then check each subsequent device by powering up only one device at a time while booting from a CD at ID #3.
Maybe you are looking for
-
ASA 5505 Failure replaced and need to move the license key?
Can someone point me in the right direction? My ASA 5505 died due to a power surge and I swapped it with a spare. I had Security Plus and a 50 user license and need to move the license keys from the failed ASA 5505 to the new one. I kept both my emai
-
DVD stuck in player, help!
How do you eject a dvd if its stuck in the drive? The eject button wont work. I hear it spinning and keep trying eject and it just wont release it. Any tips?
-
Indentifying Version of WRE54G
For some reason LinkSys (Cisco) does not change model numbers (such as adding an A at the end) when there is a significant change to the device. The WRE54G now comes in two versions -- a new one with an RJ45 port and the original version without the
-
HT4759 If i haven't upgraded to lion yet can i migrate to icloud when i do upgrade to lion?
If i haven't upgraded to lion yet, can i fully migrate to icloud when i do upgrade to lion?
-
TS1440 Flashing question mark when I start the MacBook
Hello!, I have a MacBook Pro but there was a flashing question mark when I start the MacBook, it does not go away, I have read the tips on you all site, but I can't find anything, it is for the Mac, not for a MacBook. Can anyone help me please?? Tha