Bar chart with current date in X axis

Hello
I have attached a vi that I hoipe somebody can help with.
If you look at the vi, there are two bars showing.
1.How can I attach the current date to the X axis.
For instance.....suppose the first bar (far left) was produced with data from yesterday...then the X axis would indicate yesterdays date.
The next bar was produced from data obtained today, so would show todays date.....etc
An array of dates is not suitable, as no prior date knowledge is assumed......just the current date when the bar was graphed.
2. Can the date be vertical....or even fancier....on a 45 degree slope, upwards and to the right
Thank you and best regards
Ray
Solved!
Go to Solution.
Attachments:
Bar chart.vi ‏16 KB

Hi, this will plot what ever data you got with the current date on the X Axis. But remember that since this is a graph, any new value plotted will erase the previous one. Dont have LabVIEW 9 otherwise would have checked your VI out. This plots each value with the current date.
LabVIEW 8.2,8.6,2009...still learning
Attachments:
Date Plot.png ‏16 KB

Similar Messages

  • Color Highlights not working in bar chart with two data points

    Iu2019m using Crystal Reports 2011.  I have created a bar graph using two data fields in the Chart Expert.  I have set the colors for the bars in the Color Highlights tab, but the colors that I have defined have not been applied to the graph.  
    I have tried changing the colors numerous times and have done it in both design and preview modes.  It seems to be somethign with having two data points because I don't have this problem when using just one data point.  Please help!

    is the colour mode Color by group or color by series

  • Bar chart with hyperlink values in X-Axis in XIR2

    Hi folks,
    I am trying to create a bar chart which shows values for 2 measures using one dimension in the X-axis. I want an hyperlink associated with the values in the X-axis because I want to implement the ability of drilling through to another report when I click any of those values. That second report will show information filtered by the value of the dimension I clicked on.
    I was reading a bit about it and it looks like it is not possible. The workaround provided was to make a table aside the chart and implement that behaviour in the table, not in the chart.
    Anyone of you could confirm this? Any of you has another ideas?
    Thanks a million
    J. Russell

    Hi Arif,
    That is one of the work-arounds I have in mind.
    Thanks for your answer
    J. Russell
    Edited by: John Russell on Aug 26, 2009 10:59 AM

  • Numbers Charts:  Stacked bar chart with two sets of data

    Hi....newbie with first post
    I'm trying to create a stacked bar chart with two lots of comparative data.
    So, there is Basic + Overtime for April 2010 as one stack (ie the basic is one colour, stacked on top is the overtime in a different colour)
                      Basic + Overtime for April 2011 next to it.
    I can get April figures next to one another as four separate columns (2 x basic, 2 x overtime), or I can get all four figures in a single stack, but I can't to two columns (one for each year) of basic and overtime.
    Any ideas?

    UK,
    What you are trying to do will require that you interleave the two sets of two-series data into one longer two-set series, and then plot just the one pair of series. Clear as mud?
    What I'm saying is that you have to fake out the program into thinking that you have just two sets, not four.
    You will have one series that has, for instance Apr 2010 Basic, Apr 2011 Basic, May, 2010 Basic, May 2011 Basic, etc.. This other series in that chart will have Apr 2010 Overtime, Apr 2011 Overtime, May 2010 Overtime, May 2011 Overtime, etc.
    The bad thing here (I'll anticipate your first complaint) is that 2010 and 2011 data will have the same color for Basic and another color will be assigned for both 2010 Overtime and 2011 Overtime.
    To get separate color sets for 2010 and 2011 data pairs, you will have to create two charts and overlay them. Both charts would be built in the alternating year format described above, but in one chart all the 2010 data would be blank and in the other chart all the 2011 data would be blank, leaving spaces in the chart for the data from the other chart to nest in.
    Jerry

  • Had a hard time setting up a bar chart with date value

    Just wanted to achieve this simple chart with a date value instead of text string or numbers, which is quite simple to achieve in Excel see screenshot.
    With flex 4, here's my code snippet, what do I missed? Please give me a hand, thanks  alot.
      [Bindable]
       private var scheduledata:ArrayList = new ArrayList([
        {name: "ward1", meeting: "1/1/2008", seminar: "8/12/2008"},    
        {name: "ward2", meeting: "2/1/2009", seminar: "9/24/2009"},
        {name: "ward3", meeting:"3/1/2011",  seminar: "10/30/2011"}
      <mx:BarChart id="bar" height="100%"
          showDataTips="true" dataProvider="{scheduledata}">
       <mx:verticalAxis>
        <mx:CategoryAxis categoryField="name"/>
       </mx:verticalAxis>
       <mx:series>
        <mx:BarSeries yField="name" xField="meeting" displayName="meeting" />
        <mx:BarSeries yField="name" xField="seminar" displayName="seminar"/>
       </mx:series>
      </mx:BarChart>

    Thank you all for those who tried to help. I figured it out by picking it up from (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65a29-7ffb.html). Just need to add a DateTimeAxis to it! Though there's bug to it that the datetimeaxis format will only display mm/yy regardless you chose Days, Weeks or Months. Somehow I will need to tackle that. 
    <mx:horizontalAxis>
    <mx:DateTimeAxis dataUnits="Days""/>
    </mx:horizontalAxis>

  • Stacked bar chart with single group

    Post Author: rt50896
    CA Forum: Charts and Graphs
    Dear all,   I have a question about stacked bar chart with one group value(normally more than one group value is ok)   ex. YYYYMM      PRODUCT    AMT        -
            200601          ABC            1000        200602          ABC              300        200603          ABC              500       .....   the data collection is as above,then chart display: x-axis as YYYYMM,y-axis as PRODUCT...   but why this case the bar chart color not the same for each YYYYMM? and legend not display one PRODUCT as ABC only?   the bar chart display like this:   http://tkfiles.storage.live.com/y1po30C7CH6eW9phoLAXH89MBGwFLYdEZ3kOMQXUQzDzwM-VNnffibEwqPI8TIUNBm1f7uKTjnkaOI   ps. crystal report version is 8.5Regina

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi,
    Apex version 4.1.1
    I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
    When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart  noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
    Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
    Incidentally, I can solve the sorting problem by combining all three series into a single query:
    select
      null as link,
      week_of as label,
      sum(customer_effort) as "Customer Effort",
      sum(project_effort) as "Project Effort",
      sum(other_effort) as "Training, Admin and Other Effort"
    from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples  posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
    Thanks,
    Mike

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • How to display multiple waveforms (more than 2) with current time on x axis

    Dear All,
    I am trying to plot more than 2 waveforms on a graph/chart with current absolute time on the x-axis.
    It works if I plot two waveforms on XY graph  but shows broken wires (mismatching of data types) for more than 2 waveforms.
    Now, I have tried waveform charts and graphs, and ti doesnt work there too.
    I have attached my VI below.
    Can someone please help me out with this. 
    Attachments:
    timing problem.vi ‏21 KB

    Dear Mahu,
    I have attached a snapshot of my VI. This snapshot shows a VI which works perfectly but as soon as you will extend the bundle and add another random number generator, it will show data mismatching. 
    The reason why I am not using a chart, although it works perfectly for this, is beacuse I want to control the x axis (start and end time) to see data at time as specified by user. 
    Waiting for your reply. 
    Attachments:
    pic of prob.JPG ‏46 KB

  • Bex Analyser: Bar chart with limit or average line, is it possible?

    Hi everyone.
    I have a short question:
    Do you know if it is possible to combine different chart types in the Bex Analyser?
    I would like to have a bar chart providing monthly values and in the same chart a line showing 1) a fixed limit and 2) another line showing an accumulated moving average.
    I have the values as source available, however I can't figure out how to combine the bar charts with a line chart in the same graph.
    Does anybody know if this is possible?
    Thanks,
    Nana

    Nana ,
    it is possible to have a Bex Chart of mixed type , you can choose the type of display for each series
    As for fixed line - you will need to have the values supplied by query
    As for moving average , that too needs to come from the query. The IGS service which renders the chart is something similar to Excel - the display options can be changed but nothing more that what is in the data table.
    Arun
    P.S Assigning points is a way of saying thank you in SDN

  • Stock Aging report with current date

    Dear Experts
    Can we able to take stock aging report with current date?
    Thanks&Regards,
    Vinoth Raj K

    You're posting in the Portuguese B1 space.
    You might want to post in the English one: SAP Business One Application

  • Compare Hiredate with Current date in PCR

    As per the requirement I have, a certain type of accrual needs to occur on the employee's anniversary date, this accrual should only happen on the first anniversary. How can I compare hire date with current date ignoring the year, and then ignoring the same logic from second year on-wards.
    Can someone please help me with the possible method of implementing this requirement in a time PCR.

    In my humble opinion, I think that you should achieve that by means of an ABAP program, it should be scheduled to run every day and compare the hiring date with the current date of every employee, then create a batch input to Infotype 2013... it would be easier to track and monitor, since you would have all logs in SM35
    Best regards,
    Federico.

  • How to pick the file which is created with current date

    Hello All,
    I have an FTP server where files are created with current date as PO_CONFIRM_20100701.txt.
    Need to pick the file based on current date. How to pick the above file format using file sender adapter. i.e what file pattern can we use so that file will be picked only on today's date
    Regards,
    Sreenivas.

    Hi Srinivas,
    It depends upon the OS you are using. If unix you can see an example script here:
    http://www.computing.net/answers/dos/batch-file-to-rename-files-by-date/5517.html
    If windows an example here:
    http://en.kioskea.net/forum/affich-87157-finding-and-using-file-date-in-batch-command
    You may need to change slightly to fit your exact requirements. But this would make you to start. Else you can also google to get the script. Here is one link:
    http://www.google.com/#hl=en&source=hp&q=scripttorenamefileshavingtodaysdate&aq=f&aqi=m1&aql=&oq=&gs_rfai=CRE9SwTMsTNjiDpzGhgTm65iFCwAAAKoEBU_QC2i-&fp=e0fa4b5da4f245a4
    Regards,
    ---Satish

  • How to fill a prompt in webi with current date?

    A webi report is being generated on BEx Query.
    IN BEx query variables are defined for some date fields to prefill them with current date.
    Foe ex. there is license start date. For this field variable is defined so that in variable screen License start date is automatically filled with greater than or equal to current date(which is system date). WHich is a mandatory variable.
    On BO side, a webi report is being developed on a Universe (based on this BEx query).
    When the webi report is run, the license start date(mandatory variable in BEx) is automatically prompted, but date is not getting prefiiled with current date.
    How to prefill this prompt with current date?
    the prompt should be like
    LIcense start date >= <current date>

    Hi,
    Yes, it isn't possible to reference anything like 'Current Date' in the universe (like you would with a SQL data source).
    The solution I have seen recently goes like this, I don't know the exact details (so I might have some terminology wrong), but someone with ABAP skills should get what I mean.
    Assuming you want to filter on 0CALDAY.
    In ABAP, create a customer EXIT that calculates the current date as a number (so today might be 40651). Do the same for 0CALDAY.
    In the BEx create a formula variable that references each of those, then a Formula Key Figure (I forget the exact name of them) that's just the current day number minus the 0CALDAY number. This gives you the 'age' of that row of data.
    Your Webi report can then have a built in filter (or prompt with a default value) of, say Age <= 30. The report can be scheduled and will always run with the last 30 day's data.
    We actually did the customer exists to show the 'age' in months.
    Sorry I can't explain it any better, but it's working great for us.
    Hope that helps.

  • Charts with Multiple Data Series in One Color

    I am trying to create a pie chart to reflect the different areas of my budget in four categories. However, my budget is divided into several smaller categories across several columns and I can only get the cells in the first column to register even though the additional cells show up in the Inspector as part of the series.

    Jerry,
    Thanks for the info. I'll give that a read when I get home today. In a roundabout way I tried part of that. I created my chart with my data for Mammallia and the time periods. Then I selected the occurrences for Synapsids and dropped them in, but it added them to the first data set in the chart? I'm guessing I was doing something wrong, but I'm unsure of what. Numbers/Excel has never been a strong subject for me, but I'll try your advice and see what I come up with.
    Reading your post again, the last way seems the most simple and I feel a little foolish for not thinking of that myself. Oh well, that's how we learn right? Thanks for your help!! You saved me a lot of hassle.
    Best regards,
    Mitch

  • Using a Stacked Bar Chart With an Accordian Menu

    I am having difficulty using a stacked bar chart with an accordian menu. I am able to have one stack bar populate but the other four stays blank. There seems to be an issue with my destination. I dont think it likes that my destination is more than one row and one column. Is there a way to fix this?

    Hello,
    I think there may be an issue in how your model/Accordion Menu was configured.  What insert option are you using?  Your destination should only be 'one' row OR 'one' column at the most.
    Thanks,
    AJ

Maybe you are looking for

  • My iPhone is no longer downloading mail messages

    I have both my work e-mail and Gmail on my iPhone.  For some reason, my work e-mails are no longer automatically being pushed to my phone unless I click on the Mail icon and wait for it to connect/download.  This isn't the case for my Gmail...and my

  • I can't hear the person I'm calling (they can hear...

    Nokia Lumia 925 have cyan update , 10 months old. Since the yesterday I can no longer hear the person I'm trying to talk to. They can hear me. All other sound functions seem to be OK. Any ideas?

  • Problems installing contacts to Nokia N8 using Nok...

    Hi everyone I cannot for the life of me get my contacts list which I backed up from my Nokai N82 onto my Nokia N8-00. The file is a straight forward .nbu file, which I have tried to upload through Nokia suite, directly to the phones harddrive, and SD

  • Nomad Jukebox Zen Non respons

    I have Nomad jukebox Zen,and I have a big problem, it powers up but will not go past the startup page. I went to the rescue mode and performed all of the tasks and nothing . I tried to reinstall the os firware but it will not install I get a firmware

  • Flash "Plug-In Failure" with Lion 10.7.4 - HOW TO FIX?

    Just upgraded to Lion 10.7.4, then the video stopped playing in Safari. Upgraded Safari to 5.1.7, then installed the latest Flash player, V. 11.2.202.235 Plug-Ins are enabled. Also have the latest graphic card drivers. Now I get "Plug-In Failure" I h