LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving markers in chart graph

Hi folks!

 

I have a problem concerning how to present my data in a chart graph. The problem is that I want the x-scale markers to be fixed and not moving around when the chart is updating. Basically I want to freeze the x-scale markers and only let its values to update. I that possible? I have already spent two days to solve this :-(. And by the way I don't want to use the style with only two markers.

 

I have attached a VI to simply illustrate my problem.

 

Thank you!

0 Kudos
Message 1 of 7
(3,726 Views)

in the property node of your graph fix your scale items 
or use marker value propert node

0 Kudos
Message 2 of 7
(3,695 Views)

Hi Hatef!

 

Thank you for your response. Which property node do you specifically mean? is it scale range? I have been playing around with that but havn't been able to get the markers fixed. Regarding the marker values property, I appreciate if you could give me some example on how to proceed. I guess that I need to programmatically change them every time the graph is updated. Am I right?

0 Kudos
Message 3 of 7
(3,668 Views)
Please explain whether you are using a chart OR graph. It sounds like you are actually using a chart but should be using a graph.
Message 4 of 7
(3,654 Views)

HI Dennis

 

I'm using a chart because of the possibilty to set the chart history length. It would make life easier by setting this than having to play around with arrays.

0 Kudos
Message 5 of 7
(3,643 Views)
I don't know what you are expecting. Say you set the history to 100 and the min and max to display 100 points. When you acquire point 101, the chart will scroll and the x axis will now show 101 as the max. That is the way it is supposed to work. Do you want to reset the history so that it starts over again?
0 Kudos
Message 6 of 7
(3,633 Views)

That is what I'm expecting to happens, at the same time I don't want the markers on the x axis to move. They should be fixed and only their value changed.

0 Kudos
Message 7 of 7
(3,614 Views)