<?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 When exporting graph as image the background of the graph box remains white even when set as &amp;quot;transparent&amp;quot; in the report preferences. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681781#M86742</link>
    <description>&lt;P&gt;Hello all -&lt;/P&gt;&lt;P&gt;I am working with JMP Pro 16.1.0. When exporting my graph as an image file, the background of the graph box remains white even when I have set the background as "transparent" in the report preferences.&amp;nbsp; Below is an example when I exported an SVG file: the titles and axes export as transparent, but the graph box continues as white.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 123px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57046i349DBC6BF5BE9014/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried exporting as various types of image files in happens for all of them.&amp;nbsp; Is there a workaround?&lt;/P&gt;&lt;P&gt;Thank you all!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 20:44:52 GMT</pubDate>
    <dc:creator>HydroBug</dc:creator>
    <dc:date>2023-09-27T20:44:52Z</dc:date>
    <item>
      <title>When exporting graph as image the background of the graph box remains white even when set as "transparent" in the report preferences.</title>
      <link>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681781#M86742</link>
      <description>&lt;P&gt;Hello all -&lt;/P&gt;&lt;P&gt;I am working with JMP Pro 16.1.0. When exporting my graph as an image file, the background of the graph box remains white even when I have set the background as "transparent" in the report preferences.&amp;nbsp; Below is an example when I exported an SVG file: the titles and axes export as transparent, but the graph box continues as white.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 123px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57046i349DBC6BF5BE9014/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried exporting as various types of image files in happens for all of them.&amp;nbsp; Is there a workaround?&lt;/P&gt;&lt;P&gt;Thank you all!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 20:44:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681781#M86742</guid>
      <dc:creator>HydroBug</dc:creator>
      <dc:date>2023-09-27T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: When exporting graph as image the background of the graph box remains white even when set as "transparent" in the report preferences.</title>
      <link>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681919#M86760</link>
      <description>&lt;P&gt;Vote for my wish: &lt;LI-MESSAGE title="Transparent background color for graphs" uid="627431" url="https://community.jmp.com/t5/JMP-Wish-List/Transparent-background-color-for-graphs/m-p/627431#U627431" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 10:47:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681919#M86760</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-09-28T10:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: When exporting graph as image the background of the graph box remains white even when set as "transparent" in the report preferences.</title>
      <link>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681966#M86765</link>
      <description>&lt;P&gt;Also, since you are using svg, you can edit the svg after it is written to remove the rect fills. For some reason, there are two. You could use a text editor, or use JSL to do it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$sample_data/big class.jmp" );
g = dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);
Report( g ) &amp;lt;&amp;lt; savepicture( "f:/g1.svg", "svg" );
Open( "f:/g1.svg" );
txt = Load Text File( "f:/g1.svg" );
/* remove the rect fill
&amp;lt;g fill="#DDDDDD"&amp;gt;
 &amp;lt;rect stroke="none" x="84.5" y="36.5" width="500" height="409" /&amp;gt;
&amp;lt;/g&amp;gt;
*/

While(
	Pat Match( txt,
		("&amp;lt;g fill=" + Pat Break( "&amp;gt;" ) + "&amp;gt;" + Pat Span( " \!n\!r" ) + "&amp;lt;rect stroke=" + Pat Break( "&amp;gt;" ) + "&amp;gt;" + Pat Span( " \!n\!r" ) + "&amp;lt;/g&amp;gt;") &amp;gt;&amp;gt; deleted,
		""
	),
	Show( deleted )
);

Open( Save Text File( "f:/g2.svg", txt ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="g2.svg" style="width: 639px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57056iE76474A1009949A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="g2.svg" alt="g2.svg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 14:28:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/681966#M86765</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-09-28T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: When exporting graph as image the background of the graph box remains white even when set as "transparent" in the report preferences.</title>
      <link>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/682584#M86807</link>
      <description>&lt;P&gt;Oh WOW Craige - This works fabulously!&amp;nbsp; Thank you, thank you!&lt;/P&gt;&lt;P&gt;It also go rid of the grid in between frame boxes, but I managed to get them to show up gain.&amp;nbsp; Thank you, thank you, this is hugely helpful.&lt;/P&gt;&lt;P&gt;-Erika.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 19:16:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/When-exporting-graph-as-image-the-background-of-the-graph-box/m-p/682584#M86807</guid>
      <dc:creator>HydroBug</dc:creator>
      <dc:date>2023-09-29T19:16:03Z</dc:date>
    </item>
  </channel>
</rss>

