Report7 = Platform(
DataTable1,
Graph Builder(
Size( 333, 214 ),
Show Control Panel( 0 ),
Fit to Window( "On" ),
Variables(
X( :Quantième ),
Y( :pH 3h ),
Group Y( :Type de lait ),
Overlay( :Produit )
),
Elements(
Points( X, Y, Legend( 1 ) ),
Caption Box( X, Y, Legend( 3 ) )
),
SendToReport(
Dispatch(
{},
"Quantième",
ScaleBox,
{Label Row( Show Major Grid( 1 ) )}
),
Dispatch(
{},
"pH 3h",
ScaleBox,
{Format( "Fixed Dec", 15, 2 ), Min( 5 ), Max( 6.2 ),
Inc( 0.05 ), Minor Ticks( 1 ),
Add Ref Line(
5.75,
"Dotted",
"Black",
"Cible 5.75",
2
), Label Row( Show Major Grid( 1 ) )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "pH 3h ADT T et TH par Quantième" )}
)
)
)
);
hello,
and for:
"I think the graphs are being stretched down to a size of 0 or possibly clipped, because the text is very large and is not stretchable".
Is it possible to optimize?
the text is big and on screens of different sizes, it is not nice (particular with small screens of portable computer).
extract of the dashboard script.
Report7 = Platform(
DataTable1,
Graph Builder(
Size( 333, 214 ),
Show Control Panel( 0 ),
Fit to Window( "On" ),
Variables(
X( :Quantième ),
Y( :pH 3h ),
Group Y( :Type de lait ),
Overlay( :Produit )
),
Elements(
Points( X, Y, Legend( 1 ) ),
Caption Box( X, Y, Legend( 3 ) )
),
SendToReport(
Dispatch(
{},
"Quantième",
ScaleBox,
{Label Row( Show Major Grid( 1 ) )}
),
Dispatch(
{},
"pH 3h",
ScaleBox,
{Format( "Fixed Dec", 15, 2 ), Min( 5 ), Max( 6.2 ),
Inc( 0.05 ), Minor Ticks( 1 ),
Add Ref Line(
5.75,
"Dotted",
"Black",
"Cible 5.75",
2
), Label Row( Show Major Grid( 1 ) )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "pH 3h ADT T et TH par Quantième" )}
)
)
)
);