11-15-2010 03:53 PM
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.
11-15-2010 10:41 PM - edited 11-15-2010 10:42 PM
Hi Ray,
Make date in the X-axis ia not a problem. But make it fancier is not possible.
Right Click the Chart --> Got to property.. Then try it...
<<Kudos are welcome>>
11-15-2010 11:05 PM
Hi Electro Sam
I have tried that, but if you give it a go on my attached vi, the results are less than disappointing, and the date is showing 1904
I'm not sure how to fix this
Regards
Ray
11-15-2010 11:08 PM
btw Electro Sam
The graph is an xy graph.
This may have some bearing on my difficulty???
11-16-2010 04:51 AM
Hi Rayclout...
Hi man you have to explore the options man... I just give you one more... try this...
Almost all the plots with your requirement...
<<Kudos are welcome>>
11-16-2010 10:03 AM
Electro SAM, I don't think you're properly understanding the question. I believe the poster wants the labels on the individual bar chart elements, not as a "regular" axis. This requires using a custom scale. This has been brought up before and a search should find these posts.
11-16-2010 06:09 PM
I've looked through this site umpteen times, but there is not a satisfactory explanation either here or on the LV help examples.
The only examples I could find placed the annotation over the bar......not what I want.
Thanks anyway.....
11-16-2010 11:50 PM
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.
11-17-2010 02:23 AM
Hi wond3rboy
Thanks for the advice, however it's not what I'm after.
I've attached the example you gave and it's still a basic xy graph.
If you reread my OP, you will see the difference between the vi example you gave and what I am after
Regards
Ray
11-17-2010 04:42 AM
Hi, i could take a look at it if you downconvert your VI to LabVIEW8.6. I cant opent it.