Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

more than one line of text on x-axis lables

Does anyone know if it is possible to display more than one line of text on the x-axis division lables? I have a string I formated as follows: "ddd MMM-d" + ControlChars.CrLf + " h:mm tt" but only the "ddd MMM-d" part is displayed. thanks
0 Kudos
Message 1 of 4
(3,965 Views)
RatedPG,
 
I am seeing the same behavior on my end. There might be some problem with the way the label is displayed. Let me investigate further on this one.
 
Here is a workaround for you. You can create two x-axis, one being the date, the other being the time. Then you just need to hide the tick mark for the second axis. This will produce the same effect as one axis with a linebreak in it. Of course, you need to make sure two axis have the same intervals.
 


Message Edited by Song D on 03-04-2008 09:22 AM
Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 2 of 4
(3,936 Views)

I have the same question.

I know that LabVIEW can do that.

0 Kudos
Message 3 of 4
(3,349 Views)

Vasilich,

Unfortunately there is no way to get the X-axis labels to display multiple lines, and there are no methods exposed in the Graph classes that would allow us to change their behavior as such.  Therefore the workaround that Song mentioned is the best course of action if you need to have multiple lines on the division labels.

John B.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,325 Views)