Hello still need some help
I created multi charts using a for loop
problem is I would like to insert a break page after each graph but it doesn't work
here is part of the code (pretty long so I cut it)
my_window = new window (" report", <-- define new window
V list Box(
Text box( "(1) Definition", << set font size(textsize1), justify text(left), << font color({0,0,0.5})),
<code cut only text box>
page break box(), <-- this break page works
current data table (final_tb);
For( k = 1, k <= NRow(::cor_data), k++, <-- for loop to create multi graph
obj = final_tb << Fit Group(
Bivariate( <-- graph 1
Y(col_sel_Y),
X(col_sel_X),
<code cut graph>
)
),
Oneway( <-- graph 2
Y(col_sel_Y),
X( :REGION ),
<code cut graph>
);
obj << Title("Param to inline correlation_"||char(chart_key));
obj << journal; <-- append to journal but actually would like to happen to my_window
page break box() << journal; <-- here is my break page issue ... I cannot figure out how to code it.
)
);
If I create the charts and then paste them into current journal it works but then I see around 20 graphs popping on my screen !!
best regards
Lionel