LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph => to put array of string to X scale .

Solved!
Go to solution

How i can to put array of Strings on the X scale on the XY graph .

For example I have two tables of the same size one which represents the axis Y and the other that represents the axis  X (array of strings).

I can do this?
thank you .

0 Kudos
Message 1 of 18
(5,031 Views)

 

If you mean you want to have non numeric values for your markers on the scale,

then as far as i know that is not possible directly with the charts/graphs.

 

There are properties regarding the markers, but for me the Marker.Text property never does anything and the help seems to not have this option listed.

 

Perhaps someone has a suggestion on how to build this feature yourself,

but i presume it is involved.

 

regards

 

 


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 2 of 18
(5,011 Views)

Then I can not put this data in a XY graph as it is presented in the picture?

sssss.png

0 Kudos
Message 3 of 18
(5,000 Views)

@Sarah_LAB wrote:

Then I can not put this data in a XY graph as it is presented in the picture?

sssss.png


yes it is possible, because you can use timestamps for the x-axis which can be formatted as you suggested

will attach a snippet later

0 Kudos
Message 4 of 18
(4,991 Views)
Solution
Accepted by topic author Sarah_LAB

here we go:

time-formatting.png

0 Kudos
Message 5 of 18
(4,988 Views)

Thank you alexderjuengere,

Can you give me please the VI of this solution i don't find some functions?
Thank you .

0 Kudos
Message 6 of 18
(4,958 Views)

Hi, 
I  get the date, but they not show up on the date cluster?
What is the problem?

1.png

2.png

0 Kudos
Message 7 of 18
(4,952 Views)
Solution
Accepted by topic author Sarah_LAB

the picture I attached is a snippet: http://www.ni.com/tutorial/9330/en/

- it's actual LabView Code you can use!

 

>I get the date, but they not show up on the date cluster?
>What is the problem?

 

you have to change the graph's x-axis properties as shown in the screenshot

 

 

0 Kudos
Message 8 of 18
(4,944 Views)

I had already changed the properties!!!
3.png

0 Kudos
Message 9 of 18
(4,935 Views)
Solution
Accepted by topic author Sarah_LAB

attach your actual .vi, but make sure it got proper default values for the date-array saved

0 Kudos
Message 10 of 18
(4,932 Views)