<?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 Error message from Elements( Points( X, Y, Legend( 2 ) ) ), in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/659731#M84902</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to make a graph, However, I get an error message, but I don't have any idea where it comes from.&lt;/P&gt;&lt;P&gt;Here is my program:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph = RAW_DATA_TABLE &amp;lt;&amp;lt; Graph Builder(
					Size( 450, 400 ),
					Show Legend( 0 ),
					Show Control Panel( 0 ),
					Variables( X( :Numéro de lot ), Y( Eval( defaut ) ),
					Elements( Points( X, Y, Legend( 2 ) ) ),
					SendToReport(
						Dispatch(
							{},
							Eval( defaut ),
							ScaleBox,
							{Add Ref Line( Seuil1, "Solid", "blue", "Seuil d'action =" || Char( Seuil1 ), 2 ), Add Ref Line(
								Seuil2, "Solid", "Green", "Seuil d'alerte =" || Char( Seuil2 ), 2
							)}
						), 
					)
				))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error is from the :&amp;nbsp;&lt;CODE class=" language-jsl"&gt;Elements( Points( X, Y, Legend( 2 ) ) ),&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Here is the message I got:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;The specified column could not be found in the data table. when accessing or evaluating "Elements", Elements( Points( X, Y, Legend( 2 ) ) ) /*###*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any suggestion of the problem?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2023 14:05:28 GMT</pubDate>
    <dc:creator>Sebastienlg</dc:creator>
    <dc:date>2023-07-18T14:05:28Z</dc:date>
    <item>
      <title>Error message from Elements( Points( X, Y, Legend( 2 ) ) ),</title>
      <link>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/659731#M84902</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to make a graph, However, I get an error message, but I don't have any idea where it comes from.&lt;/P&gt;&lt;P&gt;Here is my program:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph = RAW_DATA_TABLE &amp;lt;&amp;lt; Graph Builder(
					Size( 450, 400 ),
					Show Legend( 0 ),
					Show Control Panel( 0 ),
					Variables( X( :Numéro de lot ), Y( Eval( defaut ) ),
					Elements( Points( X, Y, Legend( 2 ) ) ),
					SendToReport(
						Dispatch(
							{},
							Eval( defaut ),
							ScaleBox,
							{Add Ref Line( Seuil1, "Solid", "blue", "Seuil d'action =" || Char( Seuil1 ), 2 ), Add Ref Line(
								Seuil2, "Solid", "Green", "Seuil d'alerte =" || Char( Seuil2 ), 2
							)}
						), 
					)
				))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error is from the :&amp;nbsp;&lt;CODE class=" language-jsl"&gt;Elements( Points( X, Y, Legend( 2 ) ) ),&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Here is the message I got:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;The specified column could not be found in the data table. when accessing or evaluating "Elements", Elements( Points( X, Y, Legend( 2 ) ) ) /*###*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any suggestion of the problem?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 14:05:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/659731#M84902</guid>
      <dc:creator>Sebastienlg</dc:creator>
      <dc:date>2023-07-18T14:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from Elements( Points( X, Y, Legend( 2 ) ) ),</title>
      <link>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/660097#M84916</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first glance, the variable "default" is not defined, at least in the segment of code you shared. It is possible that the expression "Eval (default)" does not return a reference to a column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you precede the Graph Builder script with a simple&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Show (Eval (defaut));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What does the log return?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 21:15:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/660097#M84916</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2023-07-18T21:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from Elements( Points( X, Y, Legend( 2 ) ) ),</title>
      <link>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/660188#M84924</link>
      <description>&lt;P&gt;Hi Thierry,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have not added all my script, however, the defaut variable is well define:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastienlg_0-1689753259998.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54987i08909FFDCCD93539/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sebastienlg_0-1689753259998.png" alt="Sebastienlg_0-1689753259998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried directly with the variable itself and it does not work as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other suggestion?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Sebastien&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 08:16:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/660188#M84924</guid>
      <dc:creator>Sebastienlg</dc:creator>
      <dc:date>2023-07-19T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from Elements( Points( X, Y, Legend( 2 ) ) ),</title>
      <link>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/661986#M85077</link>
      <description>&lt;P&gt;As long as "Ma variable d'étude " is the name of a column in RAW_DATA_TABLE, this should work.&amp;nbsp; I believe that's what&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11634"&gt;@Thierry_S&lt;/a&gt;&amp;nbsp;was getting at.&amp;nbsp; Double check to make sure that "Ma variable d'étude " is the name of a column in the data table.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 21:56:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-message-from-Elements-Points-X-Y-Legend-2/m-p/661986#M85077</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-07-24T21:56:31Z</dc:date>
    </item>
  </channel>
</rss>

