<?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: Generating graph builder graphs in a for loop in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213572#M42723</link>
    <description>Thank you so much, that solved my problem! I will be more aware of this in future :)&lt;/img&gt;</description>
    <pubDate>Tue, 18 Jun 2019 17:48:02 GMT</pubDate>
    <dc:creator>dileepkr</dc:creator>
    <dc:date>2019-06-18T17:48:02Z</dc:date>
    <item>
      <title>Generating graph builder graphs in a for loop</title>
      <link>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213561#M42721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am building a JMP app to generate multiple graphs out of an xlsx workbook, let me give a bit of background on the architecture of my code.&lt;/P&gt;&lt;P&gt;1. Each graph comes out of a JSL script which contains a function that takes datatable as input and returns graph builder ref as output.&lt;/P&gt;&lt;P&gt;2. On top level, I have a for loop on the datatables I need graphs for and I construct a function call and execute EVAL(func_call) inside the for loop.&lt;/P&gt;&lt;P&gt;3. I am putting each of the graph in a tabbed page in a tab box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am facing is,&lt;STRONG&gt; the for loop in the main function stops execution right after the first graph is generated through EVAL(func_call)&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help me in understanding why for loop exits out of looping after 1st graph is generated and how to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Dileep&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 17:36:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213561#M42721</guid>
      <dc:creator>dileepkr</dc:creator>
      <dc:date>2019-06-18T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generating graph builder graphs in a for loop</title>
      <link>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213571#M42722</link>
      <description>Is it possible that the variable used in your For() loop (i.e. I=1,i&amp;lt;=25,i++), is being used elsewhere in your JSL, and it is changing the index value?</description>
      <pubDate>Tue, 18 Jun 2019 17:42:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213571#M42722</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-06-18T17:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generating graph builder graphs in a for loop</title>
      <link>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213572#M42723</link>
      <description>Thank you so much, that solved my problem! I will be more aware of this in future :)&lt;/img&gt;</description>
      <pubDate>Tue, 18 Jun 2019 17:48:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generating-graph-builder-graphs-in-a-for-loop/m-p/213572#M42723</guid>
      <dc:creator>dileepkr</dc:creator>
      <dc:date>2019-06-18T17:48:02Z</dc:date>
    </item>
  </channel>
</rss>

