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-556665%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EHow%20to%20hide%2Fremove%20border%20line%20around%20a%20graph%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-556665%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20JMP%20Pro14.3.%20I%20am%20constructing%20a%20graph%20using%20Graph%20Builder%20and%20save%20if%20as%20html%20file.%20I%20would%20like%20to%20hide%20the%20border%20line%20around%20the%20graph%20but%20did%20not%20success.%20I%20am%20adding%20this%20line%20of%20code%26nbsp%3B%3CCODE%20class%3D%22%20language-jsl%22%3Eaa%5BListBox(2)%5D%20%26lt%3B%26lt%3B%20Visibility(%22Hidden%22)%3B%26nbsp%3B%3C%2FCODE%3E%2C%20the%20graph%20is%20missing.%3C%2FP%3E%3CP%3EBelow%20is%20my%20code.%20I%20need%20the%20community%20help%20to%20take%20a%20look%20if%20anything%20wrong%20with%20the%20code.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20(1).PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F46338i6E8B7511A16F492E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture%20(1).PNG%22%20alt%3D%22Capture%20(1).PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%20%22%24SAMPLE_DATA%2Fbig%20class.jmp%22%20)%3B%0A%0Agrp%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Size(%20528%2C%20464%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Variables(%20X(%20%3Aname%20)%2C%20Y(%20%3Aheight%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Elements(%20Bar(%20X%2C%20Y%2C%20Legend(%206%20)%20)%20)%0A)%3B%0A%0Aaa%20%3D%20Report(grp)%3B%0Aaa%5BListBox(2)%5D%20%26lt%3B%26lt%3B%20Visibility(%22Hidden%22)%3B%0A%0Aaa%20%26lt%3B%26lt%3B%20Save%20HTML(%22C%3A%5CUsers%5Cxxx%5CDownloads%5Cgrp.html%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-556665%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EScripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-556980%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20How%20to%20hide%2Fremove%20border%20line%20around%20a%20graph%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-556980%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EGood%20question.%20I%20agree%2C%20that%20extra%20box%20is%20not%20needed.%20I%20can't%20figure%20out%20how%20to%20make%20it%20go%20away%20either.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-557363%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20How%20to%20hide%2Fremove%20border%20line%20around%20a%20graph%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-557363%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EDoes%20this%20preference%20help%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22border.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F46377iF00DE365B67934F5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22border.PNG%22%20alt%3D%22border.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-557409%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20How%20to%20hide%2Fremove%20border%20line%20around%20a%20graph%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-557409%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThe%20%3CEM%3EGraph%20Border%3C%2FEM%3E%20preference%3F%20I%20can't%20see%20that%20it%20changes%20anything%2C%20except%20in%20the%20pref%20window.%20That%20does%20look%20like%20the%20border%20in%20question.%20Here's%20the%20JSL%20I%20tested%20with%20in%2016...%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%20%22%24SAMPLE_DATA%2Fbig%20class.jmp%22%20)%3B%0A%0Agrp%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Size(%20528%2C%20464%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Variables(%20X(%20%3Aname%20)%2C%20Y(%20%3Aheight%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Elements(%20Bar(%20X%2C%20Y%2C%20Legend(%206%20)%20)%20)%0A)%3B%0A%0Aaa%20%3D%20Report(grp)%3B%0A%0Aaa%20%26lt%3B%26lt%3B%20Save%20HTML(%22%24Downloads%5Cgrp.html%22)%3B%0Aopen(%22%24Downloads%5Cgrp.html%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EBe%20sure%20you%20are%20looking%20at%20the%20browser%20window%2C%20not%20the%20graph%20builder%20window%2C%20to%20decide%20if%20the%20border%20is%20suppressed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CBR%20%2F%3E%20%0A%0A%0A*%2F%0A%0AhtmlTxt%20%3D%20loadtextfile(%22%24temp%5Cgrp.html%22)%3B%0AhtmlTxt%20%3D%20regex(htmlTxt%2C%20%22img%20%5C%7B%20border%3A%201px%20solid%20%23a9a9a9%3B%20%5C%7D%22%2C%20%22%22%2C%20GLOBALREPLACE)%3B%0Asavetextfile(%22%24temp%5Cgrp.html%22%2ChtmlTxt)%3B%0Aopen(%22%24temp%5Cgrp.html%22)%3B%0A%0A%3CP%3EThe%20problem%20is%20with%20the%20generated%20HTML%3B%20it%20includes%20a%20style%20to%20draw%20the%20outline%20around%20the%20picture.%20This%20seems%20to%20work%20in%20JMP%2014...17.%20No%20promises.%3C%2FP%3E%3CBR%20%2F%3E%20%0A%0A%0A*%2F%0A%0AhtmlTxt%20%3D%20loadtextfile(%22%24temp%5Cgrp.html%22)%3B%0AhtmlTxt%20%3D%20regex(htmlTxt%2C%20%22img%20%5C%7B%20border%3A%201px%20solid%20%23a9a9a9%3B%20%5C%7D%22%2C%20%22%22%2C%20GLOBALREPLACE)%3B%0Asavetextfile(%22%24temp%5Cgrp.html%22%2ChtmlTxt)%3B%0Aopen(%22%24temp%5Cgrp.html%22)%3B%0A%0A%3CP%3EThe%20problem%20is%20with%20the%20generated%20HTML%3B%20it%20includes%20a%20style%20to%20draw%20the%20outline%20around%20the%20picture.%20This%20seems%20to%20work%20in%20JMP%2014...17.%20No%20promises.%3C%2FP%3E%3CBR%20%2F%3E%20%0A%0A%0A*%2F%0A%0AhtmlTxt%20%3D%20loadtextfile(%22%24temp%5Cgrp.html%22)%3B%0AhtmlTxt%20%3D%20regex(htmlTxt%2C%20%22img%20%5C%7B%20border%3A%201px%20solid%20%23a9a9a9%3B%20%5C%7D%22%2C%20%22%22%2C%20GLOBALREPLACE)%3B%0Asavetextfile(%22%24temp%5Cgrp.html%22%2ChtmlTxt)%3B%0Aopen(%22%24temp%5Cgrp.html%22)%3B%0A%0A%3CP%3EThe%20problem%20is%20with%20the%20generated%20HTML%3B%20it%20includes%20a%20style%20to%20draw%20the%20outline%20around%20the%20picture.%20This%20seems%20to%20work%20in%20JMP%2014...17.%20No%20promises.%3C%2FP%3E%3CBR%20%2F%3E%20%0A%0A%0A*%2F%0A%0AhtmlTxt%20%3D%20loadtextfile(%22%24temp%5Cgrp.html%22)%3B%0AhtmlTxt%20%3D%20regex(htmlTxt%2C%20%22img%20%5C%7B%20border%3A%201px%20solid%20%23a9a9a9%3B%20%5C%7D%22%2C%20%22%22%2C%20GLOBALREPLACE)%3B%0Asavetextfile(%22%24temp%5Cgrp.html%22%2ChtmlTxt)%3B%0Aopen(%22%24temp%5Cgrp.html%22)%3B%0A%0A%3CP%3EThe%20problem%20is%20with%20the%20generated%20HTML%3B%20it%20includes%20a%20style%20to%20draw%20the%20outline%20around%20the%20picture.%20This%20seems%20to%20work%20in%20JMP%2014...17.%20No%20promises.%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-557573%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20How%20to%20hide%2Fremove%20border%20line%20around%20a%20graph%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-557573%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHere's%20a%20workaround.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%20%22%24SAMPLE_DATA%2Fbig%20class.jmp%22%20)%3B%0A%0Agrp%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Size(%20528%2C%20464%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Variables(%20X(%20%3Aname%20)%2C%20Y(%20%3Aheight%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Elements(%20Bar(%20X%2C%20Y%2C%20Legend(%206%20)%20)%20)%0A)%3B%0A%0Aaa%20%3D%20Report(grp)%3B%0A%0Aaa%20%26lt%3B%26lt%3B%20Save%20HTML(%22%24temp%5Cgrp.html%22)%3B%0A%0A%2F*%20repair%20the%20html%0A%0A%3CTITLE%3E%0AJMP%20Report%0A%3C%2FTITLE%3E%3CSTYLE%3E%0Abody%20%7B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%20padding%3A%200%3B%20margin%3A%2010px%3B%20%7D%0Atable%20%7B%20border-color%3A%20%23a9a9a9%3B%20border-collapse%3A%20collapse%3B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%0AhtmlTxt%20%3D%20loadtextfile(%22%24temp%5Cgrp.html%22)%3B%0AhtmlTxt%20%3D%20regex(htmlTxt%2C%20%22img%20%5C%7B%20border%3A%201px%20solid%20%23a9a9a9%3B%20%5C%7D%22%2C%20%22%22%2C%20GLOBALREPLACE)%3B%0Asavetextfile(%22%24temp%5Cgrp.html%22%2ChtmlTxt)%3B%0Aopen(%22%24temp%5Cgrp.html%22)%3B%0A%0A%3CP%3EThe%20problem%20is%20with%20the%20generated%20HTML%3B%20it%20includes%20a%20style%20to%20draw%20the%20outline%20around%20the%20picture.%20This%20seems%20to%20work%20in%20JMP%2014...17.%20No%20promises.%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-558238%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20How%20to%20hide%2Fremove%20border%20line%20around%20a%20graph%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-558238%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHi%20Craige%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20great.%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
bzanos
Level III

How to hide/remove border line around a graph?

Hi All,

 

I am using JMP Pro14.3. I am constructing a graph using Graph Builder and save if as html file. I would like to hide the border line around the graph but did not success. I am adding this line of code aa[ListBox(2)] << Visibility("Hidden"); , the graph is missing.

Below is my code. I need the community help to take a look if anything wrong with the code.

 

Capture (1).PNG

dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt << Graph Builder(
	              Size( 528, 464 ),
	              Show Control Panel( 0 ),
	              Variables( X( :name ), Y( :height ) ),
	              Elements( Bar( X, Y, Legend( 6 ) ) )
);

aa = Report(grp);
aa[ListBox(2)] << Visibility("Hidden");

aa << Save HTML("C:\Users\xxx\Downloads\grp.html");
1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: How to hide/remove border line around a graph?

Here's a workaround.

dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt << Graph Builder(
	              Size( 528, 464 ),
	              Show Control Panel( 0 ),
	              Variables( X( :name ), Y( :height ) ),
	              Elements( Bar( X, Y, Legend( 6 ) ) )
);

aa = Report(grp);

aa << Save HTML("$temp\grp.html");

/* repair the html
<!doctype html public "-//W3C//DTD HTML 4.0//EN">
<html><head><title>
JMP Report
</title><style>
body { font-family: Arial, sans-serif; font-size: 12px; padding: 0; margin: 10px; }
table { border-color: #a9a9a9; border-collapse: collapse; }
td,th { border-color: #a9a9a9; }
img { border: 1px solid #a9a9a9; } <<<<<<<<<<<< this causes the border
h1,h2,h3,h4,h5 { padding: 0; margin: 5px 0px; }
</style>
</head><body>
<img src="gfx/image37489392371.png" width=637 height=471><br> 

</body></html>
*/

htmlTxt = loadtextfile("$temp\grp.html");
htmlTxt = regex(htmlTxt, "img \{ border: 1px solid #a9a9a9; \}", "", GLOBALREPLACE);
savetextfile("$temp\grp.html",htmlTxt);
open("$temp\grp.html");

The problem is with the generated HTML; it includes a style to draw the outline around the picture. This seems to work in JMP 14...17. No promises.

Craige

View solution in original post

5 REPLIES 5
Craige_Hales
Super User

Re: How to hide/remove border line around a graph?

Good question. I agree, that extra box is not needed. I can't figure out how to make it go away either.

Craige

Re: How to hide/remove border line around a graph?

Does this preference help?

 

border.PNG

Craige_Hales
Super User

Re: How to hide/remove border line around a graph?

The Graph Border preference? I can't see that it changes anything, except in the pref window. That does look like the border in question. Here's the JSL I tested with in 16...

dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt << Graph Builder(
	              Size( 528, 464 ),
	              Show Control Panel( 0 ),
	              Variables( X( :name ), Y( :height ) ),
	              Elements( Bar( X, Y, Legend( 6 ) ) )
);

aa = Report(grp);

aa << Save HTML("$Downloads\grp.html");
open("$Downloads\grp.html")

Be sure you are looking at the browser window, not the graph builder window, to decide if the border is suppressed.

 

Craige
Craige_Hales
Super User

Re: How to hide/remove border line around a graph?

Here's a workaround.

dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt << Graph Builder(
	              Size( 528, 464 ),
	              Show Control Panel( 0 ),
	              Variables( X( :name ), Y( :height ) ),
	              Elements( Bar( X, Y, Legend( 6 ) ) )
);

aa = Report(grp);

aa << Save HTML("$temp\grp.html");

/* repair the html
<!doctype html public "-//W3C//DTD HTML 4.0//EN">
<html><head><title>
JMP Report
</title><style>
body { font-family: Arial, sans-serif; font-size: 12px; padding: 0; margin: 10px; }
table { border-color: #a9a9a9; border-collapse: collapse; }
td,th { border-color: #a9a9a9; }
img { border: 1px solid #a9a9a9; } <<<<<<<<<<<< this causes the border
h1,h2,h3,h4,h5 { padding: 0; margin: 5px 0px; }
</style>
</head><body>
<img src="gfx/image37489392371.png" width=637 height=471><br> 

</body></html>
*/

htmlTxt = loadtextfile("$temp\grp.html");
htmlTxt = regex(htmlTxt, "img \{ border: 1px solid #a9a9a9; \}", "", GLOBALREPLACE);
savetextfile("$temp\grp.html",htmlTxt);
open("$temp\grp.html");

The problem is with the generated HTML; it includes a style to draw the outline around the picture. This seems to work in JMP 14...17. No promises.

Craige
bzanos
Level III

Re: How to hide/remove border line around a graph?

Hi Craige,

 

This is great. Thank you!

Recommended Articles