Appropriate scales for graphing over a date range

Hi!
I am making a report using BO XI 3.1 which will include a graph where the y-axis is the score of some metric and the x-axis is the date of the score. The goal of the graph is to be able to easily see how metric scores are changing over time. Because many dates have no score associated with them, the graph looks funny. Currently, if scores exist for July 1, July 2, and July 30, the graph will show three equally spaced data points. I'd like the distance between July 30 and July 1 to be 30 times the distance between July 1 and July 2. Is there any way to do this?
I have searched long and hard for an answer to this problem, but I have come up with nothing!!

It seems this cannot be done in WebI. The only solution I can come up with entails messing around with the universe

Similar Messages

  • Formula help - Group totals for more than one date range

    Post Author: melcaylor
    CA Forum: Formula
    I need to show in 3 columns
    inside of a grouping that totals an amount field based on a date
    range that amount was posted.  So for example:
    Billy Bob in the state of MA made $5.5m total, $800k in the last 21 days, $400k in the last 14 days and $150k in
    the last 7 days.
    I assume this is possible but I
    just donu2019t know what type of formula to write to make it work.  For this
    example, there are 2 tables u2013 user table and $$ table.  The User table has
    the user name, the $$ table has the pay date and the amount. 

    Post Author: SKodidine
    CA Forum: Formula
    You only need simple formulae in Running Totals to accomplish this.
    1.  Group by Name
    2.  Create the following Running Totals:
    2.1 A running total to sum the pay amount for all records, and resets on 'Change of Group' of Name.
    2.2 A running total to sum the pay amount and for 'Evaluate' click on the radio button next to 'Use a formula' and then click on X-2 button next to it.
    In the formula workshop window type a formula such as: {table.payment_date} in (currentdate - 21) to currentdate;
    For 'Reset' click on the radio button next to 'On change of group' and pick the group name.
    2.3 Create another running total just as in step 2.2 above but change the formula to: {table.payment_date} in (currentdate - 14) to currentdate;
    2.4 Create the last running total just as in step 2.2 above but change the formula to: {table.payment_date} in (currentdate - 7) to currentdate;
    Hide the details section and in the group footer place text boxes with appropriate text and insert these running totals to give you the numbers you want.
    The only issue I see with this is if a person was paid yesterday a sum of $25, then it will show $25 for total, last 7days, last 14days and also for last 21days.  At first look it might be mistaken for $75.

  • Fix for "Graph Acquired Binary Data.vi" in daqmx 7.4's "Measure Voltage.llb". (factory gains are reversed)

    While perusing binary data collected from the SCXI 1102 and usb 1600, the gains were found
    to be reversed using daqmx writer/reader example code from NI. This bug only surfaces if your using different gains amongst the channels.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=F7199E619CBF4215E0340003BA230ECF&p_node=201208&p_submitted=Y&p_rank=5&p_answer=yes
    has the fix for the binary to floating point viewer vi, "Graph Acquired Binary Data.vi".
    Enjoy.
    Best,
    Davy Baker
    GAMI

    duplicate post
    Continue in other thread
    Message Edited by smercurio_fc on 11-14-2008 09:10 AM

  • How can I sum values over a date range?

    I want to sum values (revenue) for a range of dates (i.e. for each month).  I'm trying to use  the MONTH function nested in SUMIF and keep getting an error message.  I want it to be SUMIF( MONTH (column of dates), cell with month, column with revenue) and it tells me "all ranges must be the same size".  It works if I create a separate column where I extract the month from each date and then compare that to a column with the number  of the month, but that is really annoying.

    You can use the sumif() function to compute the sum of revenues after the "End Date", the sum of revenues before some date and you can use the sum function to summ all revenue.  Then you can combine these into a single formula to get the answer by:
    sum between two dates is:
    sum("of all revenue") - sumif("before date") - sumif("after date"
    Cell B4 of the smaller table =SUM(Revenue)-SUMIF(Date, "<"&B1,Revenue)-SUMIF(Date, ">"&B2,Revenue)
    I highlighed cells to show before and after dates to highlight the sumif("after") and sumif("before")

  • Extracting a count of distinct values between two date ranges over months

    Hi All,
    I am having a bit of difficulty in figuring out the query to build a list of active campaigns over a date range.
    i.e. I have a table with campaign IDs and their start and end date details like this
    Campaign_id     Start_date     End_date
            10001     1-Jun-09     31-May-11
            10002     1-Jun-09     23-Jun-11
            30041     21-Aug-09     31-Dec-09
            20005     3-Jun-10     31-May-11
            90021     21-Nov-09     30-Nov-10
            54000     1-Jun-11     1-Dec-12
            35600     1-Mar-10     31-Mar-12 What the above data means is, for eg. the campaign 10001 is active from 1-Jun-09 to 31-May-11 i.e. for 24 months (inclusive of the month Jun-09 and May-11)
    What I need to figure out is the counts of active campaigns between a date range and display that active count at a month level (for e.g. lets say we want to see all the campaigns that were active
    between the date range '01-JUN-2007' and '30-APR-2012' ). So the partial output would be as seen below. The list would continue till december-2012
    Month    Year    Count of active campaigns
    Jan    2009    0
    Feb    2009    0
    Mar    2009    0
    Apr    2009    0
    May    2009    0
    Jun    2009    2
    Jul    2009    2
    Aug    2009    3
    Sep    2009    3
    Oct    2009    3
    Nov    2009    4
    Dec    2009    4
    Jan    2010    3
    Feb    2010    3
    Mar    2010    4
    Apr    2010    4
    Dec    2012    1 Could anybody please help me with the right query for this.
    Thanks a lot for help
    Regards
    Goldi

    set pagesize 40
    with tab as
                    select 1 id, sysdate -100 start_date, sysdate end_date from dual
                    union
                    select 1 id, sysdate -200 start_date, sysdate -150 end_date from dual
                    union
                    select 1 id, sysdate -600 start_date, sysdate - 400 end_date from dual
                    union
                    select 1 id, sysdate -300 start_date, sysdate - 150 end_date from dual
                    union
                    select 2 id, sysdate -100 start_date, sysdate-50 end_date from dual
          year_tab as
                        select
                                 add_months(min_date, level -1) m
                        from
                                select min(trunc(start_date,'YYYY')) min_date, add_months(max(trunc(end_date,'YYYY')), 12) max_date
                                from tab
                        connect by level <= months_between(max_date, min_date)
    select to_char(m,'YYYY') year_,
             to_char(m,'Month') month_,
             nvl(act, 0) act
    from   year_tab,
                select m date_,count(*)  act
                from tab, year_tab
                where m between trunc(start_date,'MM') and trunc(end_date,'MM')
                group by m
                ) month_tab
    where m = date_(+)
    order by m;
    YEAR_ MONTH_           ACT
    2010  January            0
    2010  February           0
    2010  March              0
    2010  April              0
    2010  May                0
    2010  June               0
    2010  July               0
    2010  August             0
    2010  September          1
    2010  October            1
    2010  November           1
    2010  December           1
    2011  January            1
    2011  February           1
    2011  March              1
    2011  April              0
    2011  May                0
    2011  June               0
    2011  July               1
    2011  August             1
    2011  September          1
    2011  October            2
    2011  November           2
    2011  December           2
    2012  January            2
    2012  February           2
    2012  March              2
    2012  April              1
    2012  May                1
    2012  June               0
    2012  July               0
    2012  August             0
    2012  September          0
    2012  October            0
    2012  November           0
    2012  December           0
    36 rows selected.

  • Partition over date range

    Is there a way to have a count be partition over a date range
    count(records) over(partition by ids range start_date to end_date)

    Hi,
    Whenever you have a question, post  a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    Since I don't have a copy of your table, I'll use the scott.emp table to illustrate.  Of course, there's nothing about cloudy days in scott.emp, so let's count the number of employees in non-magement positions, that is, anyone who has a job other than 'MANAGER' or 'PRESIDENT'.
    For every employee hired, we want to see the total number of non-management employees hired so far in the same year, and also so far in the same month, like this:
    ENAME      HIREDATE    JOB         YEAR_CNT  MONTH_CNT
    SMITH      17-Dec-1980 CLERK              1          1
    ALLEN      20-Feb-1981 SALESMAN           1          1
    WARD       22-Feb-1981 SALESMAN           2          2
    JONES      02-Apr-1981 MANAGER            2          0
    BLAKE      01-May-1981 MANAGER            2          0
    CLARK      09-Jun-1981 MANAGER            2          0
    TURNER     08-Sep-1981 SALESMAN           3          1
    MARTIN     28-Sep-1981 SALESMAN           4          2
    KING       17-Nov-1981 PRESIDENT          4          0
    JAMES      03-Dec-1981 CLERK              6          2
    FORD       03-Dec-1981 ANALYST            6          2
    MILLER     23-Jan-1982 CLERK              1          1
    SCOTT      19-Apr-1987 ANALYST            1          1
    ADAMS      23-May-1987 CLERK              2          1
    Here's one way to do that:
    WITH    got_derived_values   AS
        SELECT  ename, hiredate, job
        ,       CASE
                    WHEN  job  NOT IN ('MANAGER', 'PRESIDENT')
                    THEN  'NON-MANAGEMENT'
                END                                    AS non_man
        ,       hiredate - TRUNC (hiredate, 'MONTH')   AS month_range
        ,        hiredate - TRUNC (hiredate, 'YEAR' )  AS year_range
        FROM    scott.emp
    SELECT    ename, hiredate, job
    ,         COUNT (non_man) OVER ( ORDER BY  hiredate
                                     RANGE BETWEEN  year_range PRECEDING
                                           AND      CURRENT ROW
                                   )  AS year_cnt
    ,         COUNT (non_man) OVER ( ORDER BY  hiredate
                                     RANGE BETWEEN  month_range PRECEDING
                                           AND      CURRENT ROW
                                   )  AS month_cnt
    FROM      got_derived_values
    ORDER BY  hiredate
    You've probably heard this before, but it's worth repeating:
    Use DATE (or TIMESTAMP) columns to store information about dates.  Using any other datatype is simply asking for trouble.

  • List all dates in date range even if there is no record for that day

    Hi,
    I have a really simple report but am having a problem with dates.
    I want to list sales per day over a date range (start date and end date parameters).
    The data i am working with may not have sales on every day which is causing grief with my average calculations.
    I need to capture days in current month which i have with DateDiff ("d", {?Start Date}, {?End Date}+1)
    Then days elapsed in the month. This is where my problem is. I have grouped my data by day to get day totals, and have then attempted to use a summary on DISTINCT COUNT to get the result i need. The problem is it only counts the lines that are there, so if a day has no sales it is skipped and the count is incorrect and then the average calculations i have are not correct.
    Help will be much appreciated.

    YOu can not create data that does not exist.
    You will need to add in a table which has all dates and make that you first table with all other data joined with a left out from this date table.
    Ian

  • Help with Date Range

    Hi,
    I have an Oracle form which allows users to enter :start_date_active(mandatory) and :end_date_active (can be null).
    I need to check in form using SQL if there already exists a record for this date range or if there is any overlapping date ranges for the value entered and disallow user from entering that.
    I have my query as follows:
    SELECT (1)
    FROM <table> xsv
    WHERE 1=1
    AND ( (:START_DATE_ACTIVE >= xsv.start_date_active) AND
    (:START_DATE_ACTIVE <= nvl(xsv.end_date_active,'31-DEC-4712'))
    OR
         (:END_DATE_ACTIVE >= xsv.start_date_active) AND
    (:END_DATE_ACTIVE <= nvl(xsv.end_date_active,'31-DEC-4712'))
    But, this incorrectly allows me to enter over lapping date ranges when the :end_date_active is null.
    It should work as follows :
    eg.
    start_date_active end_date_active
    01-Apr-2009 allowed
    01-Mar-2009 10-Mar-2009 allowed
    01-feb-2009 Not allowed, as it overlaps with 1st record
    10-feb-2009 05-Mar-2009 Not allowed, as it overlaps with 2nd record
    05-Mar-2009 20-mar-2009 Not allowed, as it overlaps with 2nd record
    and so on.
    How do I modify my query to deal with null end dates ?
    Many Thanks
    Shankar

    Hi, Shankar,
    Whenever you have a question, it helps to post:
    (1) The version of Oracle (and any other relevant software) you're using
    (2) A little sample data (just enough to show what the problem is) from all the relevant tables
    (3) The results you want from that data (You posted this. It would be better if it were formatted.)
    (4) Your best attempt so far (formatted) (You posted this, but since it's unformated, it's very hard to read.)
    (5) The full error message (if any), including line number
    Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
    Formatted tabular output is okay for (3). Type these 6 characters
    &#123;code&#125;
    (small letters only, inside curly brackets) before and after formatted text, to preserve spacing.
    Use different names for the parameters and the columns. For example, if the column is called start_date_active, call the corresponding parameter :p_start_date_active. It will help to keep them straight.
    In this statement, if the column end_date_active IS NULL, you're treating it as an impossibly late date:
    (:END_DATE_ACTIVE <= nvl(xsv.end_date_active,'31-DEC-4712'))That's good. (You should really use TO_DATE ('31-DEC-4712', 'DD-MON-YYYY'), though.)
    If it's possible for the parameter :end_date_active to be NULL, you should use NVL in the same way, to equate it with some appropriate date.
    The correct way to see if the range a to b (a <= b) overlaps with x to y (x <= y) is:
    WHERE   b >= x
    AND     a <= yIf you want an expression that's TRUE when they do not overlap, then say
    WHERE   NOT (    b >= x
                AND  a <= y
                )or, equivalently,
    WHERE   b < x
    OR      a > y

  • Date Range and Format

    Post Author: cht104
    CA Forum: Formula
    I'm new to Crystal Reports so please bear with me.  I know this is easy and I'm just overlooking something obvious.  I've got my report formatted and working except for the getting the date range or prompt to work and the format of the date itself.  In my db, I"ve got a business_date field.  I've got that showing line by line in the report as yyyymmdd, but would like to be formatted as "Sept 11, 2007" if possible.  Also, for the date range, do I create a new formula or a new parameter field?  How exactly is that written out?  What other fields do I need to make this work?
    Thanks

    Post Author: cht104
    CA Forum: Formula
    {svc_at_dtl.svan} in &#91;"6036281297496447218", "6036281364474453041", "6036281475774461110", "6036282939574448316", "6036283115974448365", "6036283168796454200", "6036283395374462621", "6036283428674464130", "6036283753674445017", "6036283917774448418", "6036284153974449933", "6036284173996439566", "6036284257574445663", "6036284361474459493", "6036284371896470723", "6036284564874451909", "6036284758774459807", "6036284826974450872", "6036285282174468325", "6036285293874448033", "6036285529874453024", "6036285878174449855", "6036285999874448376", "6036286146296452491", "6036286186574458053", "6036286295596460760", "6036286335874446410", "6036286646674450703", "6036286674874445497", "6036286684874459826", "6036286879696436611", "6036286931974449860", "6036287191974445657", "6036287211774459063", "6036287254874446061", "6036287383874459108", "6036287395174475302", "6036287623696439776", "6036287911274449966", "6036287957774450009", "6036287972296473818", "6036289199196440994", "6036289336796478839", "6036289461796466359", "6036289792974471912", "6036289991196439695", "6275291111939468538", "6275291157455722999", "6275291342555724487", "6275291349939479559", "6275291437655724303", "6275291762455755275", "6275291867155724609", "6275291881655723946", "6275291886155724011", "6275292136155723957", "6275292195855724215", "6275292343855800229", "6275292363155724577", "6275292365155724637", "6275292431555731180", "6275292566755724381", "6275292632355723225", "6275292782455724172", "6275292851255723933", "6275292878655723921", "6275292953555723341", "6275293164155723919", "6275293169955723998", "6275293186455724649", "6275293318855723908", "6275293356655724478", "6275293373655724684", "6275293393739479064", "6275293553155724455", "6275293563655724004", "6275293586555778116", "6275293685955724201", "6275293757339475631", "6275293831955724141", "6275293834955730584", "6275293839562464447", "6275293884455723803", "6275293891639475878", "6275294142955724627", "6275294225939469203", "6275294244755724273", "6275294288755724162", "6275294326839466482", "6275294372355724667", "6275294446455724442", "6275294544655723239", "6275294595362458066", "6275294789855747474", "6275294965255727665", "6275295235155724432", "6275295284562503051", "6275295464555724584", "6275295543955724533", "6275295627755723584", "6275295787355723841", "6275295794955723386", "6275295812555723983", "6275295843555791857", "6275295862755722759", "6275295886755724259", "6275295914155723433", "6275295926255723304", "6275296134855724618", "6275296221455724401", "6275296317755723398", "6275296367355723312", "6275296369339471746", "6275296395339476301", "6275296663855724390", "6275296685255723246", "6275296714755724469", "6275296726455767720", "6275296746555724281", "6275296765355724086", "6275296772362502797", "6275296786862497240", "6275296997255724379", "6275297253355723475", "6275297266655724182", "6275297333955724555", "6275297497155723555", "6275297524455723179", "6275297573255724675", "6275297577455724220", "6275297741455812692", "6275297792755724410", "6275297869455724110", "6275297869455724110", "6275297899755723655", "6275297937155723570", "6275298123755730444", "6275298141555724499", "6275298269755791964", "6275298321455723972", "6275298361655724339", "6275298483355724658", "6275298658455722739", "6275298713155724108", "6275298747639512868", "6275298786555723464", "6275298854355724511", "6275298949755724320", "6275298993755724244", "6275299172655724547", "6275299224655724095", "6275299261439479425", "6275299271562505976", "6275299287155767711", "6275299417555724234", "6275299445555724363", "6275299463755727679", "6275299497755724052", "6275299561855724508", "6275299721255723338", "6275299743555724319", "6275299745855724293", "6275299755255769069", "6275299792555723668"&#93;anddate(tonumber({svc_at_dtl.business_date}&#91;1 to 4&#93;), tonumber({svc_at_dtl.business_date}&#91;5 to 6&#93;), tonumber({svc_at_dtl.business_date}&#91;7 to 8&#93;)) in {?date_range}
    I dont' know if my problem is with the "and", running 2 different things in here or just the date prompt.  Without the date prompt, I get my number information correctly

  • YTD summaries in date range param report

    The notion is simple enough:  I need running YTD totals (not really YTD, but Year to a specific date) to display next to total fields selected via a date range parameter.  For instance:
    For 5/1/2008 to 5/31/2008
    Driver--Fund1--
    Total
    name      Trips    10               10
                    YTD Trips  50        50
    The date range parameter is used in the record selection formula using: table.Datefield >= Min parameter and table.Datefield <= Max parameter.
    The YTD formula I'm using is:
    NumberVAR YTDtrips;
    IF {table.Datefield} >= Date(Year(Maximum{?parameter})),01,01) and {table.Datefield} <= Maximum({?Parameter}) Then YTDTrips := {table.Trips}
    Unfortunately, the YTD totals equal the totals for the date range specified, so I'm doing something wrong--and I strongly suspect it's my YTDTrips formula approach.
    I'd appreciate any help.

    What you can do is :-
    1.)  Get all the records from FirstMonth of the Year to Maximum Data Range. So filter the records in the record selection formula like this:
    {table.Datefield} >= Date(Year(Maximum{?parameter})),01,01) and {table.Datefield} <= Maximum({?Parameter})
    2.) Doing Summary for {table.Trips} in the report will give u YTD Totals.
    3.) For summary related to data range parameter, create one running total and in the Evaluate option . Select formula and write the below code.
    table.Datefield >= Min parameter and table.Datefield <= Max parameter.
    This will give u total for the date range parameter..
    Hope this is useful to you..
    Bye
    kanak

  • Calculate Quarter within Date Range

    I have question regarding a date range.  I created a formula like so
    {SO_SalesOrderHistoryHeader.OrderDate} >=DateValue (2008,04,01) and {SO_SalesOrderHistoryHeader.OrderDate}<=DateValue (2008,06,30)
    I get my "True" which is fine, my problem is, what happens when it goes to the next year? Or I want to look at a previous year?  Do I have to go back and edit my formula? 
    Or is there a way to tell my formula to go by whatever year is entered?

    You can use the date range but the problem I forsee with it is which date are you going to use?  The start date or end date?  The choice also determines which date to use if the two dates span across years.  For example, if your date range is 2008-10-01 to 2009-03-31. 
    If the above situation will not occur, then you can use the dates of your date range thus:
    Modify your formula thus to use the year of the start date of your date range
    {SO_SalesOrderHistoryHeader.OrderDate} >=DateValue (year(minimum(?date range})) ,04,01) and {SO_SalesOrderHistoryHeader.OrderDate}<=DateValue (year(minimum(?date range})) ,06,30)
    Modify your formula thus to use the year of the end date of your date range
    {SO_SalesOrderHistoryHeader.OrderDate} >=DateValue (year(maximum(?date range})) ,04,01) and {SO_SalesOrderHistoryHeader.OrderDate}<=DateValue (year(maximum(?date range})) ,06,30)
    Hope this made things clear as mud

  • Date Ranges

    Has anyone figured out how to limit queries in Discoverer by date range?
    I could create Conditions, but they are always static...
    I need to be able to let the users specify manually a date range condition in User Edition.
    Is this possible?
    Please reply Discoverer Team...
    Thanks,
    Peter Verhoeven.

    Peter,
    For a date range, can you not simply create a condition, then use the between operator, in each value declare a parm :BeginDate and :EndDate. Or you looking more for a dropdown type for users to select date range?
    I figured out my problem. Assuming you have a base table to say this is current week or choose sysdate. Simply build a PL/SQL function varchar IN.. Number Return.
    Then register PL/SQL function in Admin EUL. Don't forget to click import. Then add a condition, choose new parm. Then in New Parm prompts, type values user can use. Then after the Parm is done, back to the condition, simply apply your function to the parm in the condition. week_date between sysdate and get_date_range( ateRangeParm). Works.
    You could even create two functions then one returns the start date(in place of sysdate above) and the second returns the end date.
    I haven't figured out how to automate a drop down list for this yet. That is drop down for "Previous Week", "Last Week", etc.
    Randy...

  • Chart Data Axis (Y) Scale - keep constant over groups, dynamic for report

    Crystal XI
    I want to chart how many transactions there are at a teller, showing number of transactions per hour, with a separate chart for each day in a range that the user specifies at run time through paramaters.
    So I group on date at report level, and make my chart on change of hour show count of transactions, and that works.
    But using autoscale, EACH CHART is scaled on the Y axis, so for a day that has a peak of 5 tx per hour, that hour reaches top of chart, where next day, there is an hour with 100 tx.  So you can't tell at a glance that day 2 was busier than day 1.
    I like the auto scale, but I'd like it to consider the report for the scaling.  Is there a way to do that?  Or do some chart types let me do it and others don't?  (I've looked at Bar and Area charts)
    I can't use a fixed scale, because different customers have wildly different typical numbers.  (I could use a dynamically calculated fixed scale, but I don't see that that's an option)  If there's a way to use a formula for the data scale, I'm missing it, and that would probably solve my problem.
    Assuming I'm out of luck there - I can change the query as necessary, and I suspect I'm giong to have to use some gimmick like chart my maximum value in invisible ink, if someone's been down the road and knows a solution, if you can give me a quick hint on that, I'd appreciate it.

    If all else fails, you can do this easily with our CRChart add-in using the @SC family of macros which allow you to set the Y-Axis scale min/max dynamically (i.e. map them to a field or formula at runtime).
    -Dan
    disclaimer: I work for the company, threedgraphics.com, that makes this product. This product costs money.

  • Date Range For X-Axis On Range Graph

    Hi,
    Is it possible to use a date range on the x-axis of a range graph rather than having to use numbers
    I'm trying to show the various start and end date of projects on a single range graph and i can convert the start / end dates to number and the graph to displays as expected but some how i need x-axis to show the dates rather than the numbers
    This is what I've done so far, any ideas?
    http://apex.oracle.com/pls/otn/f?p=37821:5
    Thanks Andy

    Hi,
    Just wondering if anyone had any ideas about how I could achieve this. The senior managers love the way its look but without dates across the x-axis its not much use to them
    Thanks Andy

  • Display Data on waveform chart or XY graph over a long period of time

    Display Data on waveform chart or XY graph over a long period of time
    Can anyone help?
    I am acquiring data from an Ni DAQ card with the following parameters - sample rate = 12800, number of samples = 4096. I want to extract order information so as to track changes in the amplitudes of certain frequency harmonics. So I use the sound and vibration toolkit to extract this information as shown in the attached Vi.  I will like to plot the resulting amplitudes against real-time starting at the time the Vi was run.  I really want the display to show these changes over long periods (eg. days, months and even years).
    Problem.
    I have tried to plot the Y component of the resulting magnitude for a given order on a waveform chart. My choice of the waveform chart is because I also want to display  alarm limits (using the mask and limit vi) (I can't have these lines displayed on an XY graph plot).  I tried adjusting the scale offset using the property node and setting the offset to current time. However, the display on the X-axis can only show a span of  2 minutes as will be seen when you run the attached vi. I want the time display on the x-axis to be over a period of  days, months  and even years.  Is there a way to set the maximum scale on the x-axis to be say a year or so in future.
    I really want the display to be like the one in in the second attachment.
    Attached is a sample VI created using an Ni USB 9234 DAQ card. Any card will do but I am only getting the signal from one channel for this example
    I will appreciate any help that can be given to me.
    Thanks
    Attachments:
    Real-Time Graph Display.vi ‏170 KB
    Sampe screen1.doc ‏37 KB

    Long term testing can be tricky- and we'l get into that later.  Lets start with the basics that you have wrong.
    The vi as you have constructed it has only one memory element, the chart history length (default is 1024.)
    You can change the number of points the Chart will remember by Right-clicking the chart an select Chart History Length from the menu.
    But for a long term test - and one where you want to REMEMBER the first value you need a memeory element that is independant of the application.  Your PC WILL loose power or need to be rebooted eventually.  Heck it might even need to be replaced! you really need to store your data in a file. Preferablly in a file that is backed-up on a regular basis so you don't lose every point of data if the PC dies.  It realy hurts when you have to restart a 2yr test because you've lost the 18months of data you collected.
    For an application like this I would seperate my "collection" and "Evaluation" operations. 
    Have one vi that takes the reading and writes it to a file at a configurable rate  You may want 1reading  per minute for seveal days then 1 per hour for a few weeks- then maybe only once or twice a week for the next couple of years since you are looking for LONG TERM stability.  having too much data to evaluate can take a lot of digging to find the few things that interest you (but always take more that you think you need)
    Have another utility that COPIES the files, reads them and displays the data you are interested in that day.  The data you want to look at won't change over time HOWEVER, you WILL want to analize it in different ways depending on what the data trends look like.  Having seperate routines for collection and display allows you to update the display style and analisys without even stopping the collection vi (much less editing the vi)
    Jeff

Maybe you are looking for