LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing XY Graph X Axis Expected Data

Solved!
Go to solution

Ok This seems like a stupid question, however I can't seem to figure it out so I might as well post about it.  For some background, I have quite a few XY Graphs on my UI right now, all taking as an input an array of clusters, the cluster being an array of X values (Date Time Constants) and an array of Y values (Double).  After some testing I found it would be nice to switch between either displaying the X as a Date time, or as just an index of the data, and thus set up a property node to change the format of the X Axis.  I had done some testing to make sure that a double can just be formatted as a date time using formatting and it can be.  However, after I trying to change the inputs of the graph to just a double for the array of X values, I was met with a broken wire.  I assumed it was because it was set to display format Date Time, so I inspected the properties, only to realized I can't seem to select any other X Axis display format.  I'd really like to not have to replace all my graphs with new ones, is there any way to change what input it takes after using a date time?

 

I attached a small VI to show what I wanted to do on a new graph, as well as a copy of the graphs I'm using on my UI that only allows Date Time inputs.

0 Kudos
Message 1 of 2
(290 Views)
Solution
Accepted by topic author EthanHenry

Welp, of course right after making this post, I restarted labview, deleted the references in the code, and it seems to have fixed itself, wack

0 Kudos
Message 2 of 2
(269 Views)