cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-45190%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E5%B8%B6%E6%9C%89%E9%9D%9C%E6%85%8B%E8%B3%87%E6%96%99%E7%9A%84%E8%A8%98%E5%88%86%E5%8D%A1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45190%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%98%97%E8%A9%A6%E5%89%B5%E5%BB%BA%E4%B8%80%E5%80%8B%E9%9D%9C%E6%85%8B%E8%A8%98%E5%88%86%E5%8D%A1%EF%BC%8C%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%EF%BC%9A%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Scorecard.png%22%20style%3D%22width%3A%20496px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Scorecard.png%22%20style%3D%22width%3A%20496px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F7796i6BBD6D4D4827B7C4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Scorecard.png%22%20alt%3D%22Scorecard.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%88%91%E6%9F%A5%E7%9C%8B%E4%BA%86%20JMP%20Dashboard%20Builder%EF%BC%8C%E4%BD%86%E5%AE%83%E4%BC%BC%E4%B9%8E%E6%98%AF%E9%87%9D%E5%B0%8D%E5%85%B7%E6%9C%89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D%E9%9C%80%E8%A6%81%E8%87%AA%E5%B7%B1%E7%9A%84%E8%A8%98%E5%88%86%E5%8D%A1%EF%BC%8C%E5%9B%A0%E6%AD%A4%E6%88%91%E8%A8%88%E5%8A%83%E5%9C%A8%E8%A3%BD%E5%AE%9A%E4%BD%88%E5%B1%80%E5%BE%8C%E7%B7%A8%E5%AF%AB%E6%AD%A4%E8%85%B3%E6%9C%AC%E3%80%82%EF%BC%89%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E9%97%9C%E6%96%BC%E8%A8%AD%E8%A8%88%E4%BD%88%E5%B1%80%E6%9C%89%E4%BB%80%E9%BA%BC%E5%BB%BA%E8%AD%B0%E5%97%8E%EF%BC%9F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-45190%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3E%E6%95%B8%E6%93%9A%E6%8E%A2%E7%B4%A2%E5%92%8C%E8%A6%96%E8%A6%BA%E5%8C%96%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E5%A4%A7%E8%A6%8F%E6%A8%A1%E5%AE%A2%E8%A3%BD%E5%8C%96%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-45314%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%B8%B6%E9%9D%9C%E6%85%8B%E6%95%B8%E6%93%9A%E7%9A%84%E8%A8%98%E5%88%86%E5%8D%A1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45314%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%84%9F%E8%AC%9D%E6%82%A8%E6%8F%90%E4%BE%9B%E5%BB%BA%E8%AD%B0%E7%9A%84%E6%96%B9%E6%B3%95%E5%92%8C%E7%A4%BA%E4%BE%8B%E8%85%B3%E6%9C%AC%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-45191%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%B8%B6%E9%9D%9C%E6%85%8B%E6%95%B8%E6%93%9A%E7%9A%84%E8%A8%98%E5%88%86%E5%8D%A1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45191%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E5%9F%B7%E8%A1%8C%E2%80%9C%E5%B9%AB%E5%8A%A9%26gt%3B%E8%85%B3%E6%9C%AC%E7%B4%A2%E5%BC%95%E2%80%9D%E4%B8%A6%E4%BA%86%E8%A7%A3%E5%8F%AF%E7%94%A8%E7%9A%84%E2%80%9C%E9%A1%AF%E7%A4%BA%E6%A1%86%E2%80%9D%E4%BB%A5%E5%8F%8A%E4%BB%96%E5%80%91%E7%90%86%E8%A7%A3%E7%9A%84%E6%B6%88%E6%81%AF%EF%BC%8C%E6%88%91%E6%83%B3%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%A7%8B%E5%BB%BA%E5%90%88%E7%90%86%E7%9A%84%E5%82%B3%E7%9C%9F%E3%80%82%E9%80%99%E6%98%AF%E4%B8%80%E5%80%8B%E9%96%8B%E5%A7%8B%EF%BC%9A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENamesDefaultToHere(1)%3B%0ANewWindow(%22Customer%20Serice%20Scorecard%22%2C%0A%20TextBox(%22Customer%20Serice%20Scorecard%22%2C%20%26lt%3B%3CSETFONTSIZE%3E%3C%2FSETFONTSIZE%3E%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
jb
jb
Level IV

Scorecard with Static Data

I am trying to create a static scorecard that looks something like this:

 

Scorecard.png

 

I looked at JMP Dashboard Builder, but it seems to be tailored to complex graphs with filtering, maps, and interactivity.  I just want something simple and static.

 

Elements I wish to include are:

  • Large-Font Numbers
  • Textual Footnotes to explain the numbers
  • Plain Excel-like Tables (NOT JMP Data Tables)
  • JMP Graphs

Goal is to save the scorecard as a PDF for distribution each month.  (Since 20+ managers need their own scorecard each month, I plan to script this once I have a layout.)

 

Any suggestions on designing the layout?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Level X

Re: Scorecard with Static Data

If you do 'Help > Scripting Index' and learn about the 'display boxes' that are available and the messages that they understand, I imagine that you could build a reasonable facsimilie. Here's a start:

NamesDefaultToHere(1);
NewWindow("Customer Serice Scorecard",
	TextBox("Customer Serice Scorecard", <<setFontSize(48), <<fontColor("Blue"), <<setWrap(700)),
	LineUpBox(NCol(3),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			),
		SpacerBox(Size(20, 20)),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			),
		SpacerBox(Size(20, 20)),
		SpacerBox(Size(20, 20)),
		SpacerBox(Size(20, 20)),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			),
		SpacerBox(Size(20, 20)),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			)
	)
);

dt = Open("$SAMPLE_DATA/Big Class.jmp", Invisible);
NewWindow("Not a JMP Table", <<onClose(Close(dt, NoSave)), DataTableBox(dt));

View solution in original post

2 REPLIES 2
ian_jmp
Level X

Re: Scorecard with Static Data

If you do 'Help > Scripting Index' and learn about the 'display boxes' that are available and the messages that they understand, I imagine that you could build a reasonable facsimilie. Here's a start:

NamesDefaultToHere(1);
NewWindow("Customer Serice Scorecard",
	TextBox("Customer Serice Scorecard", <<setFontSize(48), <<fontColor("Blue"), <<setWrap(700)),
	LineUpBox(NCol(3),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			),
		SpacerBox(Size(20, 20)),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			),
		SpacerBox(Size(20, 20)),
		SpacerBox(Size(20, 20)),
		SpacerBox(Size(20, 20)),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			),
		SpacerBox(Size(20, 20)),
		VListBox(
			TextBox("Customer Satisfaction", <<setFontSize(24), <<fontColor("Gray")),
			TextBox("97%", <<setFontSize(72)),
			TextBox("of customers are satisfied with the . . .", <<setFontSize(10))
			)
	)
);

dt = Open("$SAMPLE_DATA/Big Class.jmp", Invisible);
NewWindow("Not a JMP Table", <<onClose(Close(dt, NoSave)), DataTableBox(dt));
jb
jb
Level IV

Re: Scorecard with Static Data

Thank you for the suggested approach and sample script.

Recommended Articles