<?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 Re: [Graph Builder] Element property setting not saved on the JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922360#M108118</link>
    <description>&lt;P&gt;What type of guideline are you looking for? XPath isn't JMP specific thing and you can see the underlaying XML of JMP report using &lt;EM&gt;&amp;lt;&amp;lt; Get XML&lt;/EM&gt; message&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
);


Write(Report(gb) &amp;lt;&amp;lt; Get XML);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 07 Jan 2026 07:15:09 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-01-07T07:15:09Z</dc:date>
    <item>
      <title>[Graph Builder] Element property setting not saved on the JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922268#M108090</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I would like to create a graph with multi Y with both left and right, and I want to set transparent to the bars on the left side only&lt;/P&gt;
&lt;P&gt;this JSL works but once I manually modified the graph and then click save as script, the transparent setting is gone. is anybody aware why and how to achieve this? thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;df = Current Data Table();
cols = df &amp;lt;&amp;lt; Get Column Names( String );

gb = Graph Builder( Size( 764, 644 ), Variables( X( :time), ) );
gbb = Report( gb )[Graph Builder Box( 1 )];
cnt = 0;
For Each( {val, ind}, cols,
	If( ind == 1, Continue() );
	If( Mod( ind, 2 ) == 0,
		pat = val
	);
	If( Mod( ind, 2 ) == 1 &amp;amp; Left( pat, 6 ) == Left( val, 6 ), // data like GROUP1_val GROUP1_
		cnt += 1;
		gbb &amp;lt;&amp;lt; Add Variable( Expr( {As Column( pat ), Role( "Y" ), Side( "Right" )} ) );
		gbb &amp;lt;&amp;lt; Add Variable( Expr( {As Column( val ), Role( "Y" ), Position( cnt )} ) );
		gbb &amp;lt;&amp;lt; Update Element( 1, cnt, 2, {Bar( X, Y )} );
		gbb &amp;lt;&amp;lt; Update Element( 1, cnt, 1, {Bar( X, Y ), Label( "Label by Value" )} );
	);
);

For( i = 1, i &amp;lt;= cnt, i++,
(Report( gb )[FrameBox( i )] &amp;lt;&amp;lt; Find Seg( "Bar Seg" )) &amp;lt;&amp;lt; Transparency(0);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jan 2026 04:38:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922268#M108090</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-01-06T04:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: [Graph Builder] Element property setting not saved on the JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922278#M108093</link>
      <description>&lt;P&gt;Can you provide example table and/or the script which you get when you copy the script from graph builder? Also which JMP version are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 06:57:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922278#M108093</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-01-06T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Graph Builder] Element property setting not saved on the JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922351#M108114</link>
      <description>&lt;P&gt;Hi jthi,&lt;/P&gt;
&lt;P&gt;my version is JMP16, and I found a solution by using this code below:&lt;/P&gt;
&lt;P&gt;but I am still wondering if there is a guideline for graph builder elements like&amp;nbsp;gb &amp;lt;&amp;lt; xpath( "//AxisBox" )?&lt;/P&gt;
&lt;P&gt;because I need customize the elements on the graph by JSL but failed most of time.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;server = gb &amp;lt;&amp;lt; Get Legend Server;
items = server &amp;lt;&amp;lt; Get Legend Items;
For Each( {val, ind}, items,
	tp = val[1] &amp;lt;&amp;lt; Get Type();
   if (tp == "Bar",
        val &amp;lt;&amp;lt; Set Properties( {Transparency( 0 )} );  // here if type is Bar set transparency
))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am not able to upload so the example data can be :&lt;/P&gt;
&lt;P&gt;time ID1_val ID1_cnt ID2_val ID2_cnt&lt;/P&gt;
&lt;P&gt;my code purpose is to create a X-Y plot with which X is time, left-Y is val and right-Y is cnt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 05:52:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922351#M108114</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-01-07T05:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Graph Builder] Element property setting not saved on the JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922360#M108118</link>
      <description>&lt;P&gt;What type of guideline are you looking for? XPath isn't JMP specific thing and you can see the underlaying XML of JMP report using &lt;EM&gt;&amp;lt;&amp;lt; Get XML&lt;/EM&gt; message&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
);


Write(Report(gb) &amp;lt;&amp;lt; Get XML);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jan 2026 07:15:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Element-property-setting-not-saved-on-the-JSL/m-p/922360#M108118</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-01-07T07:15:09Z</dc:date>
    </item>
  </channel>
</rss>

