LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show a larger version of a graph/chat on demand

Solved!
Go to solution

Hi,

I have a page with about a dozen charts - very small so that they can fit on the front panel - showing all kinds of info. Now I want to give a user the opportunity to see a much larger version of any of those charts that he may select:

 

Capture.PNG

 

Is there a way to do this?

 

I can think of a case structure that based on the selected value of the ring would re-route one of the smaller charts to the one big chart. However, the problem is that the data in the small charts is not uniform - sometimes it is one plot, sometimes 2 plots (say, a cluster of two doubles), sometimes 8 plots etc. So, this idea does not really work.

 

Otherwise I can think of creating large versions of all of the small charts, put them all in the same place, make them all invisible, and toggle the visibility based on the selection. But it is obviously very awkward and not really scalable.

 

Is there an easy way of doing this?

 

Thanks in advance.

 

0 Kudos
Message 1 of 5
(2,590 Views)
Solution
Accepted by topic author SenSLabs

How about a mixed signal graph?

 

Edit - eugh, VI snippets and references... VI attached.

 

mixed.png

---
CLA
Message 2 of 5
(2,566 Views)

One way to do this is to put one plot on each page of a tab control.  Then just use the tab to display which plot is visible.

I take this a step further and hide the tabs on the tab control.  I then use a separate ring control to let the user select from a drop-down which plot they want to display, it looks neater to me.  

If you use a splitter and set the plots to scale with the changing size of the panel you get get a nice result.

0 Kudos
Message 3 of 5
(2,564 Views)

MartinMcD


Thanks! this is more or less what I also figured as one way when I mentioned visibility switching. A bit awkward, unfortunately.

0 Kudos
Message 4 of 5
(2,546 Views)

thoult

thanks a lot, I will give it a try!

0 Kudos
Message 5 of 5
(2,544 Views)