<?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 do i update the graph builder from Jmp version 14 to 16? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-i-update-the-graph-builder-from-Jmp-version-14-to-16/m-p/943800#M109583</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following JSL code that creates a Graph Builder plot inside a &lt;CODE class="hljs"&gt;For&lt;/CODE&gt; loop. It works correctly in &lt;STRONG&gt;JMP 14&lt;/STRONG&gt; but produces wrong output in &lt;STRONG&gt;JMP 16&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;JMP 14 Code (works correctly):&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Expr(
    dt &amp;lt;&amp;lt; Graph Builder(
        Size( 635, 338 ),
        Show Control Panel( 0 ),
        Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
        Elements(
            Points( X, Y, Legend( 1 ) ),
            Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
        ),
        Local Data Filter(
            invisible,
            Add Filter(
                columns( :Component, :Batch, :Source Table ),
                Where( :Component == numPar[i] ),
                Where( :Batch == {cyc, bat}),
                Where( :Source Table == dt_name )
            )
        ),
        SendToReport(
            Dispatch(
                {},
                "Time Point Months",
                ScaleBox,
                {Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
            ),
            Dispatch(
                {},
                "graph title",
                TextEditBox,
                {Set Text( numPar[i] || " vs. Time Point" )}
            ),
            Dispatch( {},
                "Y title", 
                TextEditBox, 
                {Set Text( yTitleText)}
            ),
            Dispatch(
                {},
                "Result",
                ScaleBox,
                {Format( "Fixed Dec", 10, 3 ), 
                Min( Eval( minval )), 
                Max( Eval( maxval )), 
                Inc( Eval( (maxval - minval) / 10 ))}
            )
        )
    )
);
col1 &amp;lt;&amp;lt; Append(gb);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Did the Graph Builder syntax or Local Data Filter behavior change between JMP 14 and JMP 16? How should I rewrite this to work correctly in JMP 16?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2026 18:50:32 GMT</pubDate>
    <dc:creator>ConvergentWhale</dc:creator>
    <dc:date>2026-04-23T18:50:32Z</dc:date>
    <item>
      <title>How do i update the graph builder from Jmp version 14 to 16?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-update-the-graph-builder-from-Jmp-version-14-to-16/m-p/943800#M109583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following JSL code that creates a Graph Builder plot inside a &lt;CODE class="hljs"&gt;For&lt;/CODE&gt; loop. It works correctly in &lt;STRONG&gt;JMP 14&lt;/STRONG&gt; but produces wrong output in &lt;STRONG&gt;JMP 16&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;JMP 14 Code (works correctly):&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Expr(
    dt &amp;lt;&amp;lt; Graph Builder(
        Size( 635, 338 ),
        Show Control Panel( 0 ),
        Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
        Elements(
            Points( X, Y, Legend( 1 ) ),
            Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
        ),
        Local Data Filter(
            invisible,
            Add Filter(
                columns( :Component, :Batch, :Source Table ),
                Where( :Component == numPar[i] ),
                Where( :Batch == {cyc, bat}),
                Where( :Source Table == dt_name )
            )
        ),
        SendToReport(
            Dispatch(
                {},
                "Time Point Months",
                ScaleBox,
                {Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
            ),
            Dispatch(
                {},
                "graph title",
                TextEditBox,
                {Set Text( numPar[i] || " vs. Time Point" )}
            ),
            Dispatch( {},
                "Y title", 
                TextEditBox, 
                {Set Text( yTitleText)}
            ),
            Dispatch(
                {},
                "Result",
                ScaleBox,
                {Format( "Fixed Dec", 10, 3 ), 
                Min( Eval( minval )), 
                Max( Eval( maxval )), 
                Inc( Eval( (maxval - minval) / 10 ))}
            )
        )
    )
);
col1 &amp;lt;&amp;lt; Append(gb);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Did the Graph Builder syntax or Local Data Filter behavior change between JMP 14 and JMP 16? How should I rewrite this to work correctly in JMP 16?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 18:50:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-update-the-graph-builder-from-Jmp-version-14-to-16/m-p/943800#M109583</guid>
      <dc:creator>ConvergentWhale</dc:creator>
      <dc:date>2026-04-23T18:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do i update the graph builder from Jmp version 14 to 16?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-update-the-graph-builder-from-Jmp-version-14-to-16/m-p/943845#M109588</link>
      <description>&lt;P&gt;It is likely the dispatch(...) bits that changed.&amp;nbsp; Before and after pictures, error messages, and sample data will help somebody see what's going on.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 13:28:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-update-the-graph-builder-from-Jmp-version-14-to-16/m-p/943845#M109588</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2026-04-23T13:28:58Z</dc:date>
    </item>
  </channel>
</rss>

