<?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: Need help to remove labels from a graphlet in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847358#M102209</link>
    <description>&lt;P&gt;Thanks you all for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Voiz&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 17:07:23 GMT</pubDate>
    <dc:creator>Voizingu</dc:creator>
    <dc:date>2025-03-11T17:07:23Z</dc:date>
    <item>
      <title>Need help to remove labels from a graphlet in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847212#M102186</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a script that displays several metrics means (Line) in a graph builder and also generates a graphlet with individual metrics (points).&lt;/P&gt;&lt;P&gt;[1] - I would like to remove the labels from the graphlet, and so far no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Voizingu_1-1741669160384.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73730i9DDEF13CFFBA0738/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Voizingu_1-1741669160384.png" alt="Voizingu_1-1741669160384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this example (script below), I would like to remove the "Position2 and Mean()" labels, only keeping the graph (with its own notations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the scripting guide, it seems to require a Gridlet (P 704) but all my attempts failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2] - when lines on the first graph are close to each other (:Speed and :Height in example), the graphlet tends to disappear when I move the mouse to try to click on it to open the graph builder with the individual data. Is there an option "click" to open it directly instead of "Hover line then Hover graphlet then click"? (Scripting guide P696 mentions the "Click" option but it's not clear)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me on this?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;-Voiz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below my last "stable" version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$sample_data\Football.jmp" );

y_values = {"Height", "Weight", "Fat", "Speed"};

RelEventCol = "Position2";

variables_expr = Eval Expr( Variables( X( As Column( dt, Expr( RelEventCol ) ) ) ) );

Show( variables_expr );

For Each( {y_col}, y_values,
	temp_expr = Expr( Y() );
	Insert Into( temp_expr, Name Expr( As Column( dt, y_col ) ) );
	Insert Into( temp_expr, Name Expr( Position( 1 ) ) );
	Insert Into( variables_expr, Name Expr( temp_expr ) );
);

Show( variables_expr );

gb_expr = Expr(
	Graph Builder( Show Control Panel( 0 ) )
);

temp_expr3 = Expr( Line() );
Insert Into( temp_expr3, Name Expr( X ) );

For Each( {y_col, idx}, y_values,
	temp_expr2 = Expr( Y() );
	Insert Into( temp_expr2, idx );
	Insert Into( temp_expr3, Name Expr( temp_expr2 ) );
);
Show( temp_expr3 );
Insert Into( temp_expr3, Name Expr( Legend( 7 ) ) );
Show( temp_expr3 );

temp_expr4 = Expr( Elements() );
Insert Into( temp_expr4, Name Expr( temp_expr3 ) );
Show( temp_expr4 );

Insert Into( gb_expr, Name Expr( variables_expr ) );
Insert Into( gb_expr, Name Expr( temp_expr4 ) );

Insert Into(
	gb_expr,
	Name Expr(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Set Graphlet(
				Picture(
					dt &amp;lt;&amp;lt; Graph Builder(
						Size( 800, 700 ),
						Show Control Panel( 0 ),
						Show Legend( 0 ),
						Variables( X( As Column( dt, Expr( RelEventCol ) ) ), Y( Column( local:_measurements ) ) ),
						Elements( X, Y )
					);
			
				),
				Skip Filters( 1, Column( dt, Name Expr( RelEventCol ) ) )
			)
		
			}
		)
	)
);

Show( gb_expr );

Eval( gb_expr );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Mar 2025 05:10:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847212#M102186</guid>
      <dc:creator>Voizingu</dc:creator>
      <dc:date>2025-03-11T05:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to remove labels from a graphlet in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847260#M102189</link>
      <description>&lt;P&gt;Hover Labels are most likely what you are looking for &lt;A href="https://www.jmp.com/support/help/en/18.1/index.shtml#page/jmp/hover-labels.shtml#" target="_blank"&gt;https://www.jmp.com/support/help/en/18.1/index.shtml#page/jmp/hover-labels.shtml#&lt;/A&gt; . Purpose of Click is to trigger when user clicks on the thumbnail on the hover label&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 06:35:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847260#M102189</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-11T06:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to remove labels from a graphlet in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847308#M102193</link>
      <description>&lt;P&gt;I found how to remove unwanted parts of the hover label a few weeks ago.&amp;nbsp; Here's one way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$sample_data\Football.jmp" );

y_values = {"Height", "Weight", "Fat", "Speed"};

RelEventCol = "Position2";

variables_expr = Eval Expr( Variables( X( As Column( dt, Expr( RelEventCol ) ) ) ) );

Show( variables_expr );

For Each( {y_col}, y_values,
	temp_expr = Expr( Y() );
	Insert Into( temp_expr, Name Expr( As Column( dt, y_col ) ) );
	Insert Into( temp_expr, Name Expr( Position( 1 ) ) );
	Insert Into( variables_expr, Name Expr( temp_expr ) );
);

Show( variables_expr );

gb_expr = Expr(
	Graph Builder( Show Control Panel( 0 ) )
);

temp_expr3 = Expr( Line() );
Insert Into( temp_expr3, Name Expr( X ) );

For Each( {y_col, idx}, y_values,
	temp_expr2 = Expr( Y() );
	Insert Into( temp_expr2, idx );
	Insert Into( temp_expr3, Name Expr( temp_expr2 ) );
);
Show( temp_expr3 );
Insert Into( temp_expr3, Name Expr( Legend( 7 ) ) );
Show( temp_expr3 );

temp_expr4 = Expr( Elements() );
Insert Into( temp_expr4, Name Expr( temp_expr3 ) );
Show( temp_expr4 );

Insert Into( gb_expr, Name Expr( variables_expr ) );
Insert Into( gb_expr, Name Expr( temp_expr4 ) );

Insert Into(
	gb_expr,
	Name Expr(
		Dispatch( {}, "Graph Builder", FrameBox,
			{Set Graphlet(
				Picture(
					dt &amp;lt;&amp;lt; Graph Builder(
						Size( 800, 700 ),
						Show Control Panel( 0 ),
						Show Legend( 0 ),
						Variables( X( As Column( dt, Expr( RelEventCol ) ) ), Y( Column( local:_measurements ) ) ),
						Elements( X, Y )
					);
			
				),
				Skip Filters( 1, Column( dt, Name Expr( RelEventCol ) ) )
			), Set Gridlet(
				Expunge(
					{{Matcher( "Position2" )}, {Matcher( "Mean(Height)" )}, {Matcher( "Mean(Weight)" )}, {Matcher( "Mean(Fat)" )},
					{Matcher( "Mean(Speed)" )}}
				)
			)	//Removes these from the default gridlet
		
			}
		)
	)
);

Show( gb_expr );

Eval( gb_expr );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Mar 2025 11:38:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847308#M102193</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-03-11T11:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to remove labels from a graphlet in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847309#M102194</link>
      <description>&lt;P&gt;Instead of the list of "Mean(..." values, this should probably be used.&amp;nbsp; It will remove anything with "Mean" in the name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;{Matcher( Pat Regex( "Mean" ) )}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 11:46:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847309#M102194</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-03-11T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to remove labels from a graphlet in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847358#M102209</link>
      <description>&lt;P&gt;Thanks you all for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Voiz&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 17:07:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-to-remove-labels-from-a-graphlet-in-JSL/m-p/847358#M102209</guid>
      <dc:creator>Voizingu</dc:creator>
      <dc:date>2025-03-11T17:07:23Z</dc:date>
    </item>
  </channel>
</rss>

