<?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 Textlet for graph with multiple Y variables in the same FrameBox in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Textlet-for-graph-with-multiple-Y-variables-in-the-same-FrameBox/m-p/881037#M104493</link>
    <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I have used the textlet command before and managed to show certain values when hovering over a bar graph. However, now I have a graph which has multiple Y variables in the same plot and the commands I have used before are not working. Is it even possible to use the textlet on graphs with multiple Y variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;This is what the plot looks like so I would like to have different values shown when hovering over the&amp;nbsp; red blue or green bars&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdditiveRange10_0-1750716866134.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77235i1068957B3DA56B8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdditiveRange10_0-1750716866134.png" alt="AdditiveRange10_0-1750716866134.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2025 22:15:06 GMT</pubDate>
    <dc:creator>AdditiveRange10</dc:creator>
    <dc:date>2025-06-23T22:15:06Z</dc:date>
    <item>
      <title>Textlet for graph with multiple Y variables in the same FrameBox</title>
      <link>https://community.jmp.com/t5/Discussions/Textlet-for-graph-with-multiple-Y-variables-in-the-same-FrameBox/m-p/881037#M104493</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I have used the textlet command before and managed to show certain values when hovering over a bar graph. However, now I have a graph which has multiple Y variables in the same plot and the commands I have used before are not working. Is it even possible to use the textlet on graphs with multiple Y variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;This is what the plot looks like so I would like to have different values shown when hovering over the&amp;nbsp; red blue or green bars&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdditiveRange10_0-1750716866134.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77235i1068957B3DA56B8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdditiveRange10_0-1750716866134.png" alt="AdditiveRange10_0-1750716866134.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 22:15:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Textlet-for-graph-with-multiple-Y-variables-in-the-same-FrameBox/m-p/881037#M104493</guid>
      <dc:creator>AdditiveRange10</dc:creator>
      <dc:date>2025-06-23T22:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Textlet for graph with multiple Y variables in the same FrameBox</title>
      <link>https://community.jmp.com/t5/Discussions/Textlet-for-graph-with-multiple-Y-variables-in-the-same-FrameBox/m-p/881082#M104495</link>
      <description>&lt;P&gt;Which JMP version are you using? What would you like to display? Those different bars do have possibility of showing different hover labels but it might require some extra work,&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/index.shtml#page/jmp/work-with-the-hover-label-execution-context.shtml#" target="_blank" rel="noopener"&gt;Scripting Guide &amp;gt; Scripting Graphs &amp;gt; Hover Labels &amp;gt; Work with the Hover Label Execution Context&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can play around with this example to try and understand what you could do (local:_measurements is what you need)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1750738196798.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77248i25692512B61625BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1750738196798.png" alt="jthi_3-1750738196798.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;JSL Variables&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;local:encodedWhere = XML Encode(local:_where);
Show(Namespace("local") &amp;lt;&amp;lt; Get Contents());&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTML Markup&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;b&amp;gt;Groupings&amp;lt;/b&amp;gt;: {local:_groupings}
&amp;lt;b&amp;gt;Measurements&amp;lt;/b&amp;gt;: {local:_measurements}
&amp;lt;b&amp;gt;Summary statistic&amp;lt;/b&amp;gt;: {local:_summaryStatistic}
&amp;lt;b&amp;gt;Filter columns&amp;lt;/b&amp;gt;: {local:_filters}
&amp;lt;b&amp;gt;Where clause&amp;lt;/b&amp;gt;: {local:encodedWhere}
&amp;lt;b&amp;gt;Graph type&amp;lt;/b&amp;gt;: {local:_displaySegName}
&amp;lt;b&amp;gt;Data table&amp;lt;/b&amp;gt; {local:_dataTable}
&amp;lt;b&amp;gt;Drill depth&amp;lt;/b&amp;gt;: {local:_drillDepth}
&amp;lt;b&amp;gt;First Row&amp;lt;/b&amp;gt;: {local:_firstRow}
&amp;lt;b&amp;gt;Underlying Rows&amp;lt;/b&amp;gt;: {local:_underlyingRows}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Notice that Measurements is different&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1750738236876.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77250iFFAB0E28DE089106/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1750738236876.png" alt="jthi_5-1750738236876.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1750738229228.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77249i4C0DA3CCD1399084/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1750738229228.png" alt="jthi_4-1750738229228.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 04:11:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Textlet-for-graph-with-multiple-Y-variables-in-the-same-FrameBox/m-p/881082#M104495</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-06-24T04:11:16Z</dc:date>
    </item>
  </channel>
</rss>

