LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bar chart with current date in X axis

Solved!
Go to solution

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

 

 

 

 

0 Kudos
Message 1 of 13
(4,629 Views)

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...

Date.jpg

 

<<Kudos are welcome>>

 

0 Kudos
Message 2 of 13
(4,608 Views)

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

0 Kudos
Message 3 of 13
(4,600 Views)

btw Electro Sam

The graph is an xy graph.

 

This may have some bearing on my difficulty???

 

0 Kudos
Message 4 of 13
(4,599 Views)

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>>

0 Kudos
Message 5 of 13
(4,573 Views)

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.

0 Kudos
Message 6 of 13
(4,563 Views)

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.....

0 Kudos
Message 7 of 13
(4,551 Views)

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 😛
0 Kudos
Message 8 of 13
(4,526 Views)

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

0 Kudos
Message 9 of 13
(4,512 Views)

Hi, i could take a look at it if you downconvert your VI to LabVIEW8.6. I cant opent it.

LabVIEW 8.2,8.6,2009...still learning 😛
0 Kudos
Message 10 of 13
(4,499 Views)