Hi all,
I'm trying to modify the graph builder code which has certain variables. I would like to add conditional statements to include or exclude those certain variables. I tried using if statements, but it doesn't seem to work properly. I would appreciate any suggestions in the matter.
Example code:
I want to take an input from the user (already done with this part), to evaluate whether the user wants the results against the test temp (for example). I do have other variables to plot against, but I provided test temp to simplify the example.
// x will be taken as an input
Graph Builder(
Size( 1257, 829 ),
Level Spacing Color( "Black" ),
Variables( Y( :TX_EVM ), Y( :TX_EVM ), If( Equal( X, 1 ), Group X( :Test_Temp ) ) ),
Elements( Box Plot( Y, Legend( 19 ) ) ),
Local Data Filter(
Add Filter(
columns( :Test_Temp ),
Where( :Test_Temp == {"test temp1 ", "test temp2", "test temp3"} )
)
)
);