Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67020

One graph palette for two/several plots

$
0
0

In the attachment you can find a simple example VI in which I use two XY Graphs to display some data.

Both plots should behave in the same way. E.g. if the “First Graph” shows only the red line, the “Second Graph” should do this automatically too (so that the user only has to use one “Plot Legend”).

I could achieve this behavior by using the property nodes of the XY Graphs.

 

Similarily I want to have only one “Graph Platte” which works for both XY Graphs. So, if the user uses e.g. the magnification tool, the tool should do the same action on both graphs (it should behave similar as the trick I use for the “Plot Legend”).

Unfortunately, I did not find a solution for this problem so far.

 

There is a similar question here (http://forums.ni.com/t5/LabVIEW/How-to-detect-a-user-action-in-the-graph-palette-with-an-event/m-p/2529956#M767875), but the solution is not clear enough to me.

 

Therefore, I would be very happy if someone could help me or give me some hints!


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>