LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make a chart expand to full page?

Hello

I am using Labview 7.1 and i would like to know is there any way to be able to double click on a chart and make it expand to full screen and then double click on it again and make it return to its oricinal size?
0 Kudos
Message 1 of 3
(2,625 Views)
Salutations,

It seems there is a way. You can use an event structure where you use the "mouse down" option when it's over your waveform chart. If you want to have it based on double click, intercept the first mouse down (using "Mouse Down?") and store it, then when a second one sends, you can resize it.

To do the resizing, use a property node. I'm not entirely sure if you can use "full screen" as an option, or if you just need to set 2 numbers for "plot area size" to make things look about full screen. I'm sure a more extensive investigation on the use of the property node for that application will help. Just using two numbers for plot area size, may be a problem with varying screen resolutions. However, there are labview VI's that force a user to have a certain screen resolution. Which, might be cheating, and make sure you turn it back to the original or else the user may want to get violent.

Hope this helps,
ElSmitho
0 Kudos
Message 2 of 3
(2,618 Views)
Yes, but you will need to write some code for it.
You can control the chart's size and position by using property nodes. To create one, right click on the control chart's terminal and select Create>>Property Node. Then, you can use the properties Position and Plot Area Size to change the location and size of the chart. You can even create an animation effect for this (although it probably won't be smooth).
You can detect the double click by using an event structure with a Mouse Down event selected for the chart. The platform modifiers tell you if there was a double click.

___________________
Try to take over the world!
Message 3 of 3
(2,616 Views)