LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Fill to " in graph XY programmaticaly

Solved!
Go to solution

Hello to all.

First of all thanks a lot for reading this post and being able to help.

 

I have an XY graph whit cursors (upper limit and lower limit). These limits are set by users in a control.

Now I would like to fill programmaticaly from upper limit to +infinite and from lower limit to -infinite.

 

How can I do that programmaticaly? Any property node?

 

Thans a lot!!

0 Kudos
Message 1 of 7
(3,727 Views)
Solution
Accepted by topic author A.Salcedo

Hi A.,

 

use additional plots in the graph, one for upper, one for lower limit.

Change their properties to the desired fill behaviour…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,724 Views)

Yeah what GerdW said.  Here is an example.

 

Example_VI.png

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

2 little things: 

Limits can be 2 point arrays not to waste data

If their x ranges are infinite, graph x will not autoscale on them and they will cover full graph.

graph with lims.png

Message 4 of 7
(3,672 Views)

Great improvements, especially the scaling thing.  I didn't try zooming out, but if I would have, then I would have seen the limits are only the same X that I provided.  Your solution works much better for this.

0 Kudos
Message 5 of 7
(3,666 Views)

Great! Thanks a lot!

0 Kudos
Message 6 of 7
(3,624 Views)

Yeah very good!! You all help me so much!

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