<?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: Hover Label:more than one plot? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571495#M78120</link>
    <description>&lt;P&gt;Ouch, yes.&lt;/P&gt;&lt;P&gt;So, the _whereExpr wasn't the actual problem&lt;BR /&gt;--&amp;gt; actual issue fixed via Substitute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
local_whereExpr = Expr(
	:height == 61 &amp;amp; :weight == 128
); // for quick debugging

dt &amp;lt;&amp;lt; Graph Builder(
	Size( 401, 369 ),
	Show Control Panel( 0 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), color( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Set Graphlet(
				Picture(
					Show( Namespace( "local" ) &amp;lt;&amp;lt; Get Contents() ); //contains :_whereExpr
					// New Window("test", //for quick debugging
					Eval(
					
						Substitute(
								Expr(
									H List Box(
										Graph Builder(
											Show Control Panel( 0 ),
											Lock Scales( 1 ),
											Variables( X( :sex ), Y( :age ), Color( :sex ) ),
											Elements( Heatmap( X, Y, Legend( 5 ) ) )
										),
										Graph Builder(
											Show Control Panel( 0 ),
											Lock Scales( 1 ),
											Variables( X( :sex ), Y( :age ), Color( :sex ) ),
											Elements( Heatmap( X, Y, Legend( 5 ) ) ),
											Local DataFilter(
												Close Outline( 1 ),
												Add Filter( columns( :height, :weight ), Where( __myWhereExpr1__ ), Where( __myWhereExpr2__ ) )
											)/*,
											SendToReport( // Needen for  Jmp 17
												Dispatch({},"sex",ScaleBox,{Format( "Best", 9 ), Min( -0.5 ), Max( 1.5 ), Inc( 1 ), Minor Ticks( 0 )}),
												Dispatch({},"age",ScaleBox,{Format( "Fixed Dec", 12, 0 ), Min( -0.5 ), Max( 5.5 ), Inc( 1 ), Minor Ticks( 0 )}
												)
											)*/
										)
									)
								),
							Expr( __myWhereExpr1__ ), Arg( Name Expr( local:_whereExpr ), 1 ),
							Expr( __myWhereExpr2__ ), Arg( Name Expr( local:_whereExpr ), 2 ),
							Expr( __myWhereExpr__ ),
								Name Expr( local:_whereExpr )

						)
					);
				)//
				
				
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
    <pubDate>Sun, 20 Nov 2022 19:31:56 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2022-11-20T19:31:56Z</dc:date>
    <item>
      <title>Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571416#M78110</link>
      <description>&lt;P&gt;Is it possible to display more than one plot in the Hover Label?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it by putting two plots into a H List Box, but noticed that&amp;nbsp;&lt;/P&gt;&lt;P&gt;- the hover label just shows the first plot&amp;nbsp;&lt;/P&gt;&lt;P&gt;- after clicking on the hover label, both plots show up, but the data filter is not applied to the second plot:&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="hogi_0-1668891522986.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47496i730361A5F6741856/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1668891522986.png" alt="hogi_0-1668891522986.png" /&gt;&lt;/span&gt;&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="hogi_1-1668891573054.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47497i4B34D4BB7A9CDFA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1668891573054.png" alt="hogi_1-1668891573054.png" /&gt;&lt;/span&gt;&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;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

Graph Builder(
	Size( 401, 369 ),
	Show Control Panel( 0 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), color( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Set Graphlet(
				Picture(
					H List Box(
						Graph Builder(
							Show Control Panel( 0 ),
							Lock Scales( 1 ),
							Variables( X( :sex ), Y( :age ), color(:sex) ),
							Elements( Heatmap( X, Y, Legend( 5 ) ) )
						),
						Graph Builder(
							Show Control Panel( 0 ),
							Variables( X( :sex ), Y( :height ), color(:sex) ),
							Elements( Bar( X, Y, Legend( 6 ) ) )
						)
					)
				)
			)}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 28 Jun 2024 17:59:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571416#M78110</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-28T17:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571431#M78111</link>
      <description>&lt;P&gt;Might not be easily done (at least not with simple graphs, you can use pictures though). Hover labels do have quite good documentation in JMP Help site&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/add-graphs-or-images-to-hover-labels-using-graphlets.shtml#" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Scripting Graphs &amp;gt; Hover Labels &amp;gt; Add Graphs or Images to Hover Labels Using Graphlets&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="ww637041" class="N3heading"&gt;Graphlet Commands&lt;/H3&gt;
&lt;H4 id="ww616063" class="HeadMinor"&gt;Picture&lt;/H4&gt;
&lt;P class="body"&gt;A required script that adds a thumbnail of a graph or an image to the hover label.&lt;/P&gt;
&lt;P class="body"&gt;&lt;SPAN class="code"&gt;Picture()&lt;/SPAN&gt; is always executed in a Hover Label Execution Context derived from the current visual element. &lt;STRONG&gt;The first &lt;SPAN class="code"&gt;Picture Box&lt;/SPAN&gt; (outside of a local data filter) found will be used to generate the displayed image.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="body"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="body"&gt;More documentation &lt;A href="https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/customize-hover-labels-in-jmp-graphs.shtml#" target="_blank" rel="noopener"&gt; Using JMP &amp;gt; JMP Reports &amp;gt; Customize Hover Labels in JMP Graphs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 21:35:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571431#M78111</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-11-19T21:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571436#M78112</link>
      <description>&lt;P&gt;Hm, how to get access to the&amp;nbsp;&lt;CODE class=" language-jsl"&gt;local:_whereExpr&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;I assume, a quite simple error, but I can't find it ...&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 401, 369 ),
	Show Control Panel( 0 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), color( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Set Graphlet(
				Picture(
				Show( Namespace( "local" ) &amp;lt;&amp;lt; Get Contents() ); //contains :_whereExpr
				Show(local:_whereExpr); // empty ?!?
				Eval(Eval Expr(
					Data Filter Context Box(
						H List Box(
							Current Data Table() &amp;lt;&amp;lt; DataFilter( Local, Add Filter( columns( :height, :weight ), Where( Expr(Name Expr(local:_whereExpr)) ) 				
							) ), 
							Graph Builder(
								Show Control Panel( 0 ),
								Lock Scales( 1 ),
								Graph Spacing( 4 ),
								Variables( X( :sex ), Y( :age ), Color( :sex ) ),
								Elements( Heatmap( X, Y, Legend( 5 ) ) )
							),
							Graph Builder(
								Show Control Panel( 0 ),
								Lock Scales( 1 ),
								Graph Spacing( 4 ),
								Variables( X( :sex ), Y( :age ), Color( :sex ) ),
								Elements( Heatmap( X, Y, Legend( 5 ) ) )
							);
						

						)
					)))
				)							
							
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 22:35:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571436#M78112</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-11-19T22:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571472#M78115</link>
      <description>&lt;P&gt;Most likely your _whereExpr is getting evaluated and returning missing value.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 14:14:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571472#M78115</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-11-20T14:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571495#M78120</link>
      <description>&lt;P&gt;Ouch, yes.&lt;/P&gt;&lt;P&gt;So, the _whereExpr wasn't the actual problem&lt;BR /&gt;--&amp;gt; actual issue fixed via Substitute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
local_whereExpr = Expr(
	:height == 61 &amp;amp; :weight == 128
); // for quick debugging

dt &amp;lt;&amp;lt; Graph Builder(
	Size( 401, 369 ),
	Show Control Panel( 0 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), color( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Set Graphlet(
				Picture(
					Show( Namespace( "local" ) &amp;lt;&amp;lt; Get Contents() ); //contains :_whereExpr
					// New Window("test", //for quick debugging
					Eval(
					
						Substitute(
								Expr(
									H List Box(
										Graph Builder(
											Show Control Panel( 0 ),
											Lock Scales( 1 ),
											Variables( X( :sex ), Y( :age ), Color( :sex ) ),
											Elements( Heatmap( X, Y, Legend( 5 ) ) )
										),
										Graph Builder(
											Show Control Panel( 0 ),
											Lock Scales( 1 ),
											Variables( X( :sex ), Y( :age ), Color( :sex ) ),
											Elements( Heatmap( X, Y, Legend( 5 ) ) ),
											Local DataFilter(
												Close Outline( 1 ),
												Add Filter( columns( :height, :weight ), Where( __myWhereExpr1__ ), Where( __myWhereExpr2__ ) )
											)/*,
											SendToReport( // Needen for  Jmp 17
												Dispatch({},"sex",ScaleBox,{Format( "Best", 9 ), Min( -0.5 ), Max( 1.5 ), Inc( 1 ), Minor Ticks( 0 )}),
												Dispatch({},"age",ScaleBox,{Format( "Fixed Dec", 12, 0 ), Min( -0.5 ), Max( 5.5 ), Inc( 1 ), Minor Ticks( 0 )}
												)
											)*/
										)
									)
								),
							Expr( __myWhereExpr1__ ), Arg( Name Expr( local:_whereExpr ), 1 ),
							Expr( __myWhereExpr2__ ), Arg( Name Expr( local:_whereExpr ), 2 ),
							Expr( __myWhereExpr__ ),
								Name Expr( local:_whereExpr )

						)
					);
				)//
				
				
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 20 Nov 2022 19:31:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571495#M78120</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-11-20T19:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571497#M78121</link>
      <description>&lt;P&gt;By the way:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I generated the second subplot directly&amp;nbsp;&lt;EM&gt;including&lt;/EM&gt; the data filter from the beginning.&lt;/P&gt;&lt;P&gt;The first subplot gets the DataFilter via the Hover Label Framework&amp;nbsp; -&amp;nbsp;&lt;EM&gt;after&lt;/EM&gt; being initialized without Data filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This reminds me of another topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/speeding-up-heatmap-graphs/m-p/571277/highlight/true#M78103" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/Discussions/speeding-up-heatmap-graphs/m-p/571277/highlight/true#M78103&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And indeed, Jmp 16 and Jmp17 behave different here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Jmp16, the data filter is always added &lt;EM&gt;after&lt;/EM&gt; the initialization of the graph - even if the data filter is part of the Graph Builder code.&lt;BR /&gt;Therefore, for both plots, the range is locked via&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Lock Scales( 1 ) &lt;FONT face="arial,helvetica,sans-serif"&gt;to the full range&lt;/FONT&gt;&lt;/FONT&gt; -&amp;gt; both plots look the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Jmp17, if the data filter is part of the GraphBuilder code (second graph), the data filter is added immediately.&lt;/P&gt;&lt;P&gt;Therefore the axis ranges of the second plot are restricted to the filtered data.&lt;/P&gt;&lt;P&gt;-&amp;gt; &lt;U&gt;new:&lt;/U&gt; If needed, one has to specify the axis ranges manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jmp 17:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1668973103723.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47501iF484CDE89ECCF748/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1668973103723.png" alt="hogi_2-1668973103723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jmp 16&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1668972660803.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47500i92BCEDA524DA922D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1668972660803.png" alt="hogi_1-1668972660803.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 19:57:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/571497#M78121</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-11-20T19:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hover Label:more than one plot?</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/769250#M94975</link>
      <description>&lt;P&gt;maybe, sometimes this is exactly what the user wants:&lt;BR /&gt;- show just one graph with the "hover" filter applied&lt;/P&gt;&lt;P&gt;- and when you click on it:&lt;BR /&gt;- open the same graph&lt;/P&gt;&lt;P&gt;- plus a second "static" graph - without a "hover" filter applied&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, one could call this bug a feature.&lt;BR /&gt;In&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Abstracts/Graph-Builder-30-Second-Challenge/ev-p/708928" target="_blank" rel="noopener"&gt;Graph-Builder-30-Second-Challenge&lt;/A&gt;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742"&gt;@martindemel&lt;/a&gt;&amp;nbsp;shows that one doesn't even need a surrounding H/V List Box.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 17:33:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-Label-more-than-one-plot/m-p/769250#M94975</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-28T17:33:19Z</dc:date>
    </item>
  </channel>
</rss>

