Hi all. I am using a variable CD to keep track of several different products. I would like to use a for loop to run the graph builder and under the Variables function of the graph substitute my variable for the Y axis name.
I have this under graph builder script:
Graph Builder(
Variables( X( :DateTime ), Y( :BLU14031717111005_100_200 ) ),
Elements( Points( X, Y, Legend( 11 ), Jitter( 1 ), Error Bars( "Range" ) ) ),
{},
"BLU14031717111005_100_200",
ScaleBox,
{Add Ref Line( 2120, Solid, "Medium Light Red", "LCL", 2 ),
Add Ref Line( 2340, Solid, "Medium Light Red", "HCL", 2 )}
),
Dispatch( {}, "400", LegendBox, {Position( {0} )} )
I want to change the :blu14031717........ to a variable that will change depending on the for loop iteration. I would also like the graph title to change with each iteration. Any help would be most appreciated.