LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph Axis Format, 2 lines

Solved!
Go to solution

I am working with an XY graph with Time on the X-Axis and I have a question regarding the formatting options.  I can include both the date and time, but they are written in a single line, reducing the number of major ticks I can have for a given graph size.

 

Is it possible to include a line feed or carraige return so that the date and time are written with 1 above the other?  I tried using /r or /n but these were merely written into the axis tick labels.  Is there an escape code to use or is this not possible?

 

 

0 Kudos
Message 1 of 3
(2,405 Views)
Solution
Accepted by topic author pjr1121

It's not a "/r" or "/n" (forward slash), but "\r" or "\n" (backwards slash). And, when you write your constant on the BD, you have to format the string in the right-click-dropdown menu as "\ Codes Display" or you will get literally "\n" (if you then look at it as "\ Code" you will see "\\n").

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
Message 2 of 3
(2,397 Views)

Oops.  Thanks for correcting me

0 Kudos
Message 3 of 3
(2,394 Views)