Resetting axis step value in graphs
I'm having a little problem with trying to format the y axis of a graph. I want to do it with a bit of pl\sql code (using some of the examples). There is no format trigger for this object and I can't seem to create one. There are code examples with the Graphics Builder Reference but they don't state how to get them to run. Does anyone know how to get a format trigger for the axis or could suggest where I should make the call. Oh yeah, the final output is a pdf report generated by rwcgi60.
Thanks
null
Script has NO access to live graph data… It can only break them… then fish in the group for bits…
Similar Messages
-
Unlink x-axis marker values from graph scale
Say there are three points to plot: y-values 2.1, 2.2 and 2.3. The x-values are 0, 1 and 2, respectively. How can the x-value marker values be changed to 22, 50 and 100 without rescaling the plot's x-axis?
> I've tried this with all graph types. I want the points to be evenly
> spaced on the x-axis. I want the marker labels on the x-axis to be
> arbitrary. e.g.: plotting gain error (y-axis: generally {-1%..1%})
> versus gain setting (x-axis: generally {48, 24, 8, 4, 2, 1, 0.5,
> 0.025...}).
>
The LV graphs support linear and log scaling, and they support a linear
transform between the plotted value and the labeled value, but you are
correct, they do not allow arbitrary labeling of the points on the scale.
To work around this, you might look at placing cursors/markers on the
graph. Show the text labels, hide the lines and points, and set the
color however you like for the text. The marker location can be at the
bottom or top of the g
raph, and the text can be your arbitrary values.
Then hide the X Scale.
Another approach is to hide the scale and have an array of strings or
numerics that you overlay. The problem with this approach is that as
fonts change when you change platforms, or MS changes the default font,
your array and graph won't line up. The markers on the graph always will.
Greg McKaskle -
Why can't I reset the precision of my axis in a Waveform graph?
I'd like to reset the precision of the axis on my Waveform Graph. I can do this in other graphs but when I change it to a Waveform it doesn't like it. Perhaps this is because time is on the x-axis?
Anyway it comes up with the error, Invalid Property Value when I run this test VI.
Attachments:
GraphPrecisionError.vi 55 KBI have reported this in the bug thread: http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=3331#M3331
LabVIEW Champion . Do more with less code and in less time . -
How to use time values from graph or chart for other calculations
iam generating an ultrasonic signal of frequency 500k. In the equation i need the values of time axis of the graph or chart for calculationg the envelope of the graph. please help me how to use the x-axis time values.I have tried by writing in spread sheeet or by using arrays. here iam not able to get only 1 dim time values.
AshwiniPUse a property node
-
Hi all,
i have a chart with some dates in axis X, values of money in axis Y. My dates not having the same step. Example: 01/10/2008, 01/11/2008, 02/25/2008, 03/01/2008 etc...
I need to change the step of my axis X (like a day) for having spaces between dates proportional to delta time.
How I can alter the step of my axis X?
Thank you all.You'll have to union on a query that returns all dates and a zero measure (or you could try null) but it isn't very pretty. Rumor has it a future edition of OBIEE will be 'continuous time aware' ...
-
How to SQL to create a new field reset by new value
Table only got 1 field eg.
company_name
DELL
DELL
DELL
HP
HP
IBM
IBM
IBM
How create a SQL to create a running number field that reset for a value? Thanks.
It should look something like this :
SNO company_name
1 DELL
2 DELL
3 DELL
1 HP
2 HP
1 IBM
2 IBM
3 IBMHallo,
SELECT row_number() over (partition by company_name order by company_name), company_name
FROM company
Regards
Dmytro Dekhtyaryuk -
How can I add axis to an XY-graph programmatically (in LV 6i)?
I am currently using LabVIEW 6i to make a flexible graph window, which can be called and controlled from another VI. It's easy to send commands to the graph window over a queue interface (enabling things like adding and removing plots, changing the names, etc.)
However, I would also like to add/remove/assign axis like this (i.e. when the program is running). It seems to me that there isn't an attribute or method available on the XY-graph that will allow this.
My best solution so far is to have a maximum number of axis present, and then hide/show them when axis are removed/created. However, this triggers a bug in LV (AFAIK) when the axis are shown/hidden out of order (they will be shown
on top of each other). Now this can be solved by setting the positions/sizes of all axis every time, but that seems like a lot of work...
Is there a way to add/remove axis to an XY-graph programmatically (in LabVIEW 6i)?I have not found a way to programmatically create/remove scales in LabVIEW.
In regards to the error, I would suggest updating to LabVIEW 6.0.2. I wrote a simple VI that tested this funcitonality and did not have any problems. The link to the 6.0.2 update is:
http://digital.ni.com/softlib.nsf/websearch/F983BDA17B8F401B862569EC005A11C2
Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect -
Compare step values and set document to incomplete, if value is negative
Hi All,
I am looking for standard feature of SAP to set the document incomplete, if the difference of the two steps value is negative.
e.g
Step CT Value SubTot AltCal
10 ABC 10 D
20 XYZ 20 E
30 Total (-10) 12(std cal type Subtract Subtotal D - E)
Now the requirement is to set the document incomplete when the step 30 value is negative. Using custom routine it is feasible but I am looking for standard, if any.
The idea is to check value of step 10 and 20, if the value of step 10 is less than step 20, then set the document to incomplete.
Not necessary to check negative and then set to document to incomplete.
I am also looking to use minimum order value concept but no success.
Request to kindly let me know your valuable inputs. Thanks
Regards
KalyanHi
Once I did this using EDI1 and EDI2 functioanlity. I changed that according to my own requirement. You could also use this and change this as per your own requirement but I think yours is very much similar to mine Check this below document.
How to Implement minimum Price check in Sale order and billing.
Thank$ -
Add axis label to a graph in word report
Hi,
Is there a way to add an axis label for the graph in a word report? Thanks!
Tom
Solved!
Go to Solution.I would guess that there is, but it would be a word automation function.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Hi,
I've a problem while saving the waveform to a spreadsheet.
The problem that I'm facing is that I'm not able to save/change the time-axis of the waveform graph into the excel spreadsheet.
The attachments below are what I've programmed on.
1st file that would be asked to save is the results of the waveform.
2nd file, supposing to be the time-axis
3rd file, is the multiplication of results of CH 1 and CH 2.
Would be glad if someone can enlighten me with a solution which is suitable for LabView version 8.2 and Tektronix DPO 72004.
Thanks. ((((:
Attachments:
Modification of 2 CH waveforms (Multiply and Sum).vi 63 KB
Modification of 2 CH waveforms (Multiply and Sum) Front Panel.JPG 220 KB
Modification of 2 CH waveforms (Multiply and Sum) BD.JPG 92 KBI've saved it as text file which could be read if I open it with excel spreadsheet.
My aim is to get the time-axis (x-axis) in the file rather than to get the date and time in the file.
The attachment is the waveform results that I've obtained.
Attachments:
waveform vaule.txt 433 KB -
Ignore certain values when graphing
Hi all,
I am currently using labview to automatically QC check data from a weather station. I have one VI that checks the incomming data for errors and outputs the data with any corrections to a text file. I have another VI that opens the text file and graphs the results. If the first VI finds a obvious error, it exchanges the bad data point with -9999 to make sure the error is obvious. Therefore, a series of temperature data may start like this: 45,45.4,800,46.5,47.3 and end up like this 45,45.4,-9999,46.5,47.3
My question is this. Is there anyway to have labview ignore certain values when graphing. I need the auto ranging feature turned on to insure that the graphs are legible, but if the -9999 value is included it creates a problem when the scales try to incorporate it. I need to be able to set labview to graph everything but to ignore the -9999 value when determining the scale. This would create an auto-ranged graph with the -9999 value simply going off the graph.
TimYou can replace the -9999 values in your array data with the double precision value NaN (Not a Number - you can actually type that into a numeric control). LabVIEW will leave an empty spot when graphing, and it won't upset your autoscaling.
Jarrod S.
National Instruments -
Step Value in Locator Train Element
Hi,
I am using Train Locator element in OAFramework pages.
I have created 6 steps in the train region i am also using Submit Button in that Locator element region as described in OA Framework help and wants to display button at last page for that i m comparing step value as explained in OA framework help in processRequest as:
OATrainBean trainBean =
(OATrainBean)pageContext.getPageLayoutBean().getLocation();
// You must call the following before getting the target page index.
trainBean.prepareForRendering(pageContext);
int step = trainBean.getSelectedTrainStepRenderedIndex() ;
if (step + 1 != trainBean.getNumberOfRenderedTrainSteps())
OASubmitButtonBean submitButton =
(OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");
submitButton.setRendered(false);
But every time when 1st page renders submit button is displayed then for 2,3,4,5 page it is not displayed then it is displayed for last page.
Everytime when 1st page rendered value of step comes 5!! while it should come 0.
I only want to display this submit button at last page not at 1st page.
Thanks in advance!Hello,
Does the workitem reference the workflow container element directly, or does it get passed in via binding?
I've tried something similar in the past and found that text was cut to 80 characters in mail steps.
Your truncated text is 84 characters long, are you sure all of it is showing?
regards
Rick Bakker
Hanabi Technology -
Step Value in Train Locator element
Hi,
I am using Train Locator element in OAFramework pages.
I have created 6 steps in the train region i am also using Submit Button in that Locator element region as described in OA Framework help and wants to display button at last page for that i m comparing step value as explained in OA framework help in processRequest as:
OATrainBean trainBean =
(OATrainBean)pageContext.getPageLayoutBean().getLocation();
// You must call the following before getting the target page index.
trainBean.prepareForRendering(pageContext);
int step = trainBean.getSelectedTrainStepRenderedIndex() ;
if (step + 1 != trainBean.getNumberOfRenderedTrainSteps())
OASubmitButtonBean submitButton =
(OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");
submitButton.setRendered(false);
But every time when 1st page renders submit button is displayed then for 2,3,4,5 page it is not displayed then it is displayed for last page.
Everytime when 1st page rendered value of step comes 5!! while it should come 0.
I only want to display this submit button at last page not at 1st page.
Thanks in advance!check [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf] How-to programmatically navigate ADF train models
-
PO Values reset to Original Value even after Change in ME21N/ME22N
Hi Friends,
I have added u2018Additional datau2019 tab with 4 fields in PR(me51n) and PO(me21n) in corresponding screens in PO- SAPLXM06 0111, PR- SAPLXM02 0111. it is working fine.
But when I create PO from PR, cust fields data has coping into PO cust fields. Development done in FM: EXIT_SAPMM06E_016. with the below code.
ekpo_ci-zchkbox = i_reban-zchkbox.
ekpo_ci-zpayfromdate = i_reban-zpayfromdate.
ekpo_ci-zpaytodate = i_reban-zpaytodate.
ekpo_ci-zquonumb = i_reban-zquonumb.
After copy, user wants to change data in this PO cust fields, but it is resetting with PR values.
i also copying from contract also for ekpo_ci-zquonumb = i_kekko-zquonumb, but it is also same probelm.
How to identify wether it is copying or changing data in PO?
please suggest me.
Srinu
Edited by: srinu rao on Nov 11, 2010 11:08 AM
Edited by: srinu rao on Nov 12, 2010 5:12 AMHi Md Faheem ,
In that function module, we can import data into DB which ever data on cust screen fields. my question is In PBO user can able change copied values from Contract/ PR.
I was implemented the logic in this way, it is working fine.
IF I_KEKPO-EBELN NE 0.
SELECT SINGLE zquonumb FROM ekko INTO lv_zquonumb WHERE ebeln = I_KEKPO-EBELN. "i_ekko-konnr.
IF LV_ZQUONUMB NE EKPO_CI-ZQUONUMB.
IF i_ekko-bstyp EQ 'F'.
IF ekpo_ci-zquonumb IS INITIAL.
ekpo_ci-zquonumb = lv_zquonumb.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Thank you for suggestion.
Srinu -
When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?
Hi Ranendra,
For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
For path File-->Templates(or Samples).
Under Templates you ll have different categories and for each you ll find the dashboard Templates.
Regards,
Venkat P
Maybe you are looking for
-
How to use HDD for Mac and PC?
Hi everyone, I may be a bit off topic or in the wrong forum or out of line on posting my issue here but I AM using a MacPro. I purchased a Western Digital 1TB FireWire HDD (My Book Pro II RAID). It is already supposed to be pre-formated so it was plu
-
Vendor not released warning as an error message in shopping cart
Hi, When we are creating a Purchase order in SRM R/3 system, If we select a vendor which is not released then we get the Error message saying Vendor is not released and processing stops there. Similarly while creating a Shopping cart with the same ve
-
The bookstore and Tomcat 4 are not good together
Hi all, I thought I will never have any problems with Java Tutorials, but it happens.. I am stuck with the Servel tutorial, 1) I have Tomcat 4.0 up and running; that is http://localhost:8080 shows me tomcat welcome message. 2) I've downloaded the tut
-
Sorting on Hide/Show Region
One very small thing. I have show hide region and i am puling two columns from table and both can be sorted. here hows it is Expected Result: Color Col_Level Red R1 Red R2 Red R3 Red R4 Red R5 Green G1 Green G2 Green G3 Yellow Y1 Yellow Y2 But when i
-
How to set a default date value
I have this input field in a popup window, but can not get it to show a default value. Any ideas? <cfinput type="datefield" name="blockDatePOP" id="blockDatePOP" value="#NOW()#" required="yes" message="You must enter a block date" mask="d mmm, yyyy"