<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to hide/remove border line around a graph? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/556665#M77059</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;CODE class=" language-jsl"&gt;aa[ListBox(2)] &amp;lt;&amp;lt; Visibility("Hidden");&amp;nbsp;&lt;/CODE&gt;, the graph is missing.&lt;/P&gt;&lt;P&gt;Below is my code. I need the community help to take a look if anything wrong with the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture (1).PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46338i6E8B7511A16F492E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture (1).PNG" alt="Capture (1).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt &amp;lt;&amp;lt; 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)] &amp;lt;&amp;lt; Visibility("Hidden");

aa &amp;lt;&amp;lt; Save HTML("C:\Users\xxx\Downloads\grp.html");&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:00:20 GMT</pubDate>
    <dc:creator>bzanos</dc:creator>
    <dc:date>2023-06-09T16:00:20Z</dc:date>
    <item>
      <title>How to hide/remove border line around a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/556665#M77059</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;CODE class=" language-jsl"&gt;aa[ListBox(2)] &amp;lt;&amp;lt; Visibility("Hidden");&amp;nbsp;&lt;/CODE&gt;, the graph is missing.&lt;/P&gt;&lt;P&gt;Below is my code. I need the community help to take a look if anything wrong with the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture (1).PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46338i6E8B7511A16F492E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture (1).PNG" alt="Capture (1).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt &amp;lt;&amp;lt; 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)] &amp;lt;&amp;lt; Visibility("Hidden");

aa &amp;lt;&amp;lt; Save HTML("C:\Users\xxx\Downloads\grp.html");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:00:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/556665#M77059</guid>
      <dc:creator>bzanos</dc:creator>
      <dc:date>2023-06-09T16:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide/remove border line around a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/556980#M77076</link>
      <description>&lt;P&gt;Good question. I agree, that extra box is not needed. I can't figure out how to make it go away either.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 14:33:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/556980#M77076</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-10-17T14:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide/remove border line around a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/557363#M77106</link>
      <description>&lt;P&gt;Does this preference help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="border.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46377iF00DE365B67934F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="border.PNG" alt="border.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:08:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/557363#M77106</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-18T15:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide/remove border line around a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/557409#M77112</link>
      <description>&lt;P&gt;The &lt;EM&gt;Graph Border&lt;/EM&gt; 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...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt &amp;lt;&amp;lt; Graph Builder(
	              Size( 528, 464 ),
	              Show Control Panel( 0 ),
	              Variables( X( :name ), Y( :height ) ),
	              Elements( Bar( X, Y, Legend( 6 ) ) )
);

aa = Report(grp);

aa &amp;lt;&amp;lt; Save HTML("$Downloads\grp.html");
open("$Downloads\grp.html")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Be sure you are looking at the browser window, not the graph builder window, to decide if the border is suppressed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 16:10:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/557409#M77112</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-10-18T16:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide/remove border line around a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/557573#M77127</link>
      <description>&lt;P&gt;Here's a workaround.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/big class.jmp" );

grp = dt &amp;lt;&amp;lt; Graph Builder(
	              Size( 528, 464 ),
	              Show Control Panel( 0 ),
	              Variables( X( :name ), Y( :height ) ),
	              Elements( Bar( X, Y, Legend( 6 ) ) )
);

aa = Report(grp);

aa &amp;lt;&amp;lt; Save HTML("$temp\grp.html");

/* repair the html
&amp;lt;!doctype html public "-//W3C//DTD HTML 4.0//EN"&amp;gt;
&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;
JMP Report
&amp;lt;/title&amp;gt;&amp;lt;style&amp;gt;
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; } &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; this causes the border
h1,h2,h3,h4,h5 { padding: 0; margin: 5px 0px; }
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;
&amp;lt;img src="gfx/image37489392371.png" width=637 height=471&amp;gt;&amp;lt;br&amp;gt; 

&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;
*/

htmlTxt = loadtextfile("$temp\grp.html");
htmlTxt = regex(htmlTxt, "img \{ border: 1px solid #a9a9a9; \}", "", GLOBALREPLACE);
savetextfile("$temp\grp.html",htmlTxt);
open("$temp\grp.html");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 23:16:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/557573#M77127</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-10-18T23:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide/remove border line around a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/558238#M77162</link>
      <description>&lt;P&gt;Hi Craige,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is great. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 01:49:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-remove-border-line-around-a-graph/m-p/558238#M77162</guid>
      <dc:creator>bzanos</dc:creator>
      <dc:date>2022-10-20T01:49:23Z</dc:date>
    </item>
  </channel>
</rss>

