Thanks for your reply. Indeed, the mentioned size function helps to fix the overall size of the Gaph Builder. However, we actually thought about fixing the size of a single frame box within the Graph Builder, so that the frame box size would stay constant regardeless of the actual number of frame boxes.
I read along here and played a little bit with our code.The solution turned out to be like this:
1. Make a reference to the Graph Builder: gb = Graph Builder(...
2. Build a report: rgb = gb << report;
3. Send a message to the specific Frame Box: rgb[Frame Box(1)] << Frame Size ( 200, 100);
Here is a snippet of the actual code:
gb = Graph Builder(
//Size( 400, 400 ),
Include Missing Categories( 1 ),
Title Fill Color( "Light Yellow" ),
Title Frame Color( "Light Yellow" ),
Level Fill Color( {239, 237, 190} ),
Level Frame Color( "Light Yellow" ),
Variables( X( :PosX ), Y( :PosY ), Wrap( :Quelle ), Color( :ChipCode ) ),
Elements( Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"PosX",
ScaleBox,
{Min( -15 ), Max( 70 ), Inc( 10 ), Minor Ticks( 0 )}
),
Dispatch(
{},
"PosY",
ScaleBox,
{Min( -0.109291571319602 ), Max( 50.1092915713196 ), Inc( 10 ),
Minor Ticks( 0 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
...
)}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Chips" )}
),
Dispatch(
{},
"400",
LegendBox,
{Set Title( "Chipse" ), Position( {0, 1, -1, 2, 3, 4, -1} )}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
{Background Color( 32 ), Marker Drawing Mode( "Normal" )}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 2 ),
{Background Color( 32 ), Marker Drawing Mode( "Normal" )}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 3 ),
{Background Color( 32 ), Marker Drawing Mode( "Normal" )}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 4 ),
{Background Color( 32 ), Marker Drawing Mode( "Normal" )}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 5 ),
{Background Color( 32 ), Marker Drawing Mode( "Normal" )}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 6 ),
{Background Color( 32 ), Marker Drawing Mode( "Normal" ) }
)
)
);
//gb << Show Tree Structure();
rgb = gb << report;
rgb[Frame Box(1)] << Frame Size ( 200, 100);