Re: Come creare bannerHListBox ha un parametro opzionale per regolare l'allineamento orizzontale delle caselle figlio.Provare
logo = open("company_logo.png", png);
logo << set size({93, 48});
H List Box(
Align("Bottom"),
Picture Box(logo),
Text Box( "Company Name " )
)Re: Come creare bannerSe vuoi qualcosa del genere
A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.Un report JMP nella parte destra di un albero di visualizzazione. Il lato sinistro è una pila verticale di due elementi.
Potresti usare qualcosa del genere
dt = Open( "$sample_data/big class.jmp" );
the_report = V List Box( // use vlist for capturing, not displaying
dt << Bivariate( Y( :weight ), X( :height ), Fit Line )
);
logo = Icon Box( "JMPLogo" ) << getpicture; // 262 wide by 152 tall
logo << set size( {93, 48} );
New Window( "test the logo",
Border Box( Left( 10 ), top( 10 ),
H List Box(
V List Box(
Picture Box( logo ),
Text Box( "Company Name " )
),
Border Box( Left( 5 ), the_report )
)
)
);
L'uso di una vlistbox per acquisire il rapporto funzionerà meglio della maggior parte delle altre caselle in alcuni rari casi. Il rapporto rileva che viene creato all'interno della vlist e non apre la propria finestra. Ho aggiunto un piccolo spazio con sinistra(5) all'interno della piastra del logo caldaia e spostato il logo lontano dal bordo con sinistra(10), in alto(10).
Non è necessario mostrare la finestra sullo schermo e acquisire manualmente l'immagine. Potresti usare questo:
dt = Open( "$sample_data/big class.jmp" );
the_report = V List Box( // use vlist for capturing, not displaying
dt << Bivariate( Y( :weight ), X( :height ), Fit Line )
);
logo = Icon Box( "JMPLogo" ) << getpicture; // 262 wide by 152 tall
logo << set size( {93, 48} );
logoreport =
Border Box( Left( 10 ), top( 10 ),
H List Box(
V List Box(
Picture Box( logo ),
Text Box( "Company Name " )
),
Border Box( Left( 5 ), the_report )
)
);
logoreport<<SAVEPICTURE></SAVEPICTURE>
Ottenere
Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Salvato senza aprire una finestra.
Re: Come creare un bannerGrazie per aver dedicato del tempo a rispondere. Non ho mai pensato di mettere un Icon Box all'interno di un Picture Box.
Grazie molto.
Re: Come creare un bannerPrego! Stavo solo prendendo l'immagine dall'icona per seguire il tuo esempio. Avrebbe potuto usare direttamente l'icona, ma poi non sarei stato in grado di ridimensionarla.
Come creare uno striscioneSto cercando di creare un banner aziendale nella parte superiore del mio file di output html, che viene salvato da un diario.
io uso il seguente codice jsl:
logo = open("company_logo.png", png);
logo << imposta dimensione({93, 48});
Casella di riepilogo H(
Scatola delle immagini (logo),
Casella di testo( "Nome azienda " )
),
Il problema che ho riscontrato è che il testo all'interno della casella di testo è allineato alla parte superiore dell'immagine. Devo inserire il testo nella parte inferiore dell'immagine.
Quale sarebbe il modo migliore per creare una bella intestazione del rapporto.
Nota: utilizzando JMP 16.
Organizzazione dei contenutiCondivisione e comunicazione dei risultati