Dashboard windowhello,
I've a cript to make a dashboard 3x2.
When the script run, I would like to have the dashboard in a full screen , not in a small window.
How can I do it?
best regards
Re: Dashboard windowFor anyone interested in a follow-up for this issue, i can confirm that there has been work in this area in the JMP 17 development cycle. JMP 17 will be available in Fall of 2022. Thank you for reporting this issue.
Re: Dashboard windowReport7 = 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" )}
)
)
)
);
Re: Dashboard windowhello,
you are right.
For my computer,if I have only the option "Data Table Title on Output" turned on, I have the same sreen than my colleague: only the text, not the graphs.
Thanks!
Re: Dashboard windowIt looks like your colleague has turned on the Report preferences for "Date Title on Output" and "Data Table Title on Output". The latter option in this case is showing not only the data table name but also the additional text including the full SQL for the source of the table. We will look into this further to see what improvements can be made, but I think the solution for now would be to turn this option off in Preferences. 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.
Re: Dashboard windowHello
I've an another question:
I've sent to a collegue who has JMP a script to build a dashboard.
on my computer, all was Ok: I can see the graphs.
but on his computer, he can't see it; See his screen.he has access to all files for the dashboard.
Why can't he see the graphs?
but he can't:
Re: Dashboard windowHello,
It's GOOD!
thanks
Re: Dashboard windowI generally find it easier to add the script from the GUI interface. The scripts are usually hidden in Dashboard Mode, but you can switch to Application Builder using the option in the red-triangle menu:

Then you can switch to the "Scripts" tab for Module1 and enter the script there:

I've attached a sample Dashboard that demonstrates this.
Re: Dashboard windowhello,
I've tried different ways.
no change.
best regards
Re: Dashboard windowYou really need to do it on a separate line and make sure you paste it exactly as written. The way you have it right now, you are sending the maximize window message to the module instance, and not the window containing the module instance. The << get box message is critical and so are the parentheses surrounding that code snippet.Re: Dashboard windowHello,
no change with that:

Re: Dashboard windowHello,
no change.
best regards
Re: Dashboard windowHi @Françoise,
Put this line in your script just after "thisModuleInstance << Create Objects;"
(thisModuleInstance << Get Box) << Maximize Window;
Re: Dashboard window@Françoise,
Can you make this edit on line 739 and see if this edits the window size
Module1 << Set Min Size(2000,1000);
Re: Dashboard windowI don't know where it is inside my script.
Is there at the end of the script: like this?
where is it and wich value?
Best regards

Re: Dashboard window@Françoise,
If you already have a script , you can look for a Size function in the script and edit the arguments to change the window size
Re: Dashboard window@Françoise,
While creating the dashboard or with an existing dashboard , if you choose to edit and click on the outer most window, you can adjust its size . Hopefully this helps
