cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
MahaRabeh
Level II

Label incorrect when exporting Dashboard to PDF with JSL

Hello, 

 

I am using a JSL script to save a dashboard to PDF.

In my graphs i have bars labeled by row with text format.

For some reasons when exporting to PDF the label is showing numbers and not the right labels as in the graphs.

This is only happening when i use the JSL script. If i manually export to PDF, the label is correct.

Is something wrong with my script?

This is the script i am using: 

Author = "My name";

Title = "Dashboard";

dbwin = window("Dashboard");

myjrn = New Window("DashBoard Report", <<Journal);

dbwin << Journal();

myjrn <<Set page setup(
	margins( 0.4, 0.2, 0.4, 0.1 ),
	scale( 0.35 ),
	portrait( 1 ),
	paper size( "A4" ) 
  );



myjrn << Set Print Footers(

  Author/*left*/,

  "&d;"/*center*/,

  "Page &pn; of &pc;"/*right*/

  );
  
  myjrn << Set Print headers(

 " " /*left*/,

  " "/*center*/,

  " ";/*right*/

  );


SaveLocation="C:\Users\Chart\";

path = SaveLocation || title || Char(Long Date( Today() )) || ".pdf";


myjrn <<Save PDF( path );

current journal() << close window();

Thanks.

1 REPLY 1
MahaRabeh
Level II

Re: Label incorrect when exporting Dashboard to PDF with JSL

Problem solved by freezing the journal. Used command:

dbwin <<journal(freeze pictures);

Recommended Articles