07-08-2014 02:22 PM
I hvae a three page tab set up each with a different graph running on it so that I can save some screen space and tab through the graphs at will. My question is how can i make sure that the two graphs not being displayed still graph their data? When I click between the tabs it starts back at 0 and then writes from there. How can I make sure that it displays the same timespan of data as it's counterpart? They are really just displaying the same thing but calculated differently.
Solved! Go to Solution.
07-08-2014 04:26 PM - edited 07-08-2014 04:28 PM
Hi labview12110
Could you put your code? It will be easier. Even though, see this basic code and try it, you'll see that all the charts are working fine. If you still have problems, let me know
07-08-2014 09:32 PM - edited 07-08-2014 09:33 PM
The best thing you can do is lose the tab control -- you don't need it and LV has a long history of tab controls and graphs not playing well together.
Consider, you have three datasets but only see one graph at a time. Have one graph and provide some way for the user to select which of the three datasets to display on that one graph. Trust me, the code will be simpler and much more robust.
Mike...
07-09-2014 07:03 AM
I figured it out without the tabs like you suggested and instead wired them all to an array, and then to anotehr array and then to the graph with the plot visibility checkboxes option on. Where is the property node for this? I want to wire that to a case structure where it will perform a certain calculation depending on which plot you have selected is visible. I think that the visible property node option is only for the whole graph not the legend elements.
07-09-2014 09:50 AM
There is also a property for making the Legend visible, but it's on the Scale Legend submenu.
Mike...