<?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: Graph Builder Dynamic Subtitles in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/918408#M107781</link>
    <description>&lt;P&gt;That worked wonderfully! Thank you so much!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Dec 2025 17:10:24 GMT</pubDate>
    <dc:creator>ACraig</dc:creator>
    <dc:date>2025-12-08T17:10:24Z</dc:date>
    <item>
      <title>Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916298#M107663</link>
      <description>&lt;P&gt;Hello, I was hoping someone could help me figure out how to make it so that the subtitle of my graph would be take the min(:Year) and max(:Year) and use them in the subtitle. So, if the minimum year was 2018 and the maximum was 2025 then the subtitle would be "2018 - 2025".&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 20:24:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916298#M107663</guid>
      <dc:creator>ACraig</dc:creator>
      <dc:date>2025-12-02T20:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916308#M107664</link>
      <description>&lt;P&gt;min / max form the local data filter - or from the whole data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the Data filter, please have a look at&amp;nbsp;&lt;A href="https://marketplace.jmp.com/appdetails/Graph+Builder+Toolbar" target="_blank"&gt;https://marketplace.jmp.com/appdetails/Graph+Builder+Toolbar&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;One of the shortcuts allows you to use the settings of the data filter as title (not subtitle).&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385867013112w876h436r398" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385867013112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385867013112w876h436r398');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385867013112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 21:15:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916308#M107664</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-02T21:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916309#M107665</link>
      <description>&lt;P&gt;To make it adjust the subtitle, go to&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Users\_username_\AppData\Roaming\JMP\JMP\Addins\hogi.GraphBuilderToolbar\resetAxisLabels.jsl&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and change line 36 to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb[Text Edit Box( 2 )] &amp;lt;&amp;lt; Set Text( title );&amp;nbsp;//&amp;nbsp;was&amp;nbsp;Text Edit Box( 1 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385868017112w906h480r79" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385868017112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385868017112w906h480r79');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385868017112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 21:22:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916309#M107665</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-02T21:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916346#M107673</link>
      <description>&lt;P&gt;And based on the data in the table, it is something like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/US Regional Population.jmp" );
:Year &amp;lt;&amp;lt; data type(numeric);
Graph Builder(
	Show Subtitle( 1 ),
	Variables( X( :Year ), Y( :Population ), Overlay( :Region ) ),
	Elements( Line( X, Y ) )
);
dt &amp;lt;&amp;lt; select  where  (:year &amp;lt; 1950 ) &amp;lt;&amp;lt; exclude(1) &amp;lt;&amp;lt; select where(0);


// ---------------



myRows=where(dt, not (excluded()));
min = Char(min (dt[myRows,"Year"]));
max = Char(min (dt[myRows,"year"]));

((Current Report() &amp;lt;&amp;lt; XPath( "//OutlineBox[@helpKey='Data Filter']" )) &amp;lt;&amp;lt; get scriptable object) &amp;lt;&amp;lt; Show Subtitle( 1 )  ;
current report()[Text Edit Box( 2 )] &amp;lt;&amp;lt; Set Text( min || " — " || max );
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Dec 2025 05:17:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916346#M107673</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T05:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916348#M107674</link>
      <description>&lt;P&gt;I assume as you are talking about "dynamic" subtitles you mean when using Local Data Filter? You will have to use some script to add &amp;lt;&amp;lt; Make Filter Change Handler to your local data filter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure how robust this example is, but it gives an idea of how to use &amp;lt;&amp;lt; make filter change handler&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/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Show Subtitle(1),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(Add Filter(columns(:height)))
);

// Reference to filter
ob_filter = (gb &amp;lt;&amp;lt; Top Parent) &amp;lt;&amp;lt; XPath("//OutlineBox[@helpKey='Data Filter']");
ob_filter = ob_filter[1];
ldf = ob_filter &amp;lt;&amp;lt; Get Scriptable Object;


f = Function({a},
	dt = gb &amp;lt;&amp;lt; Get Data Table;
	
	w = ldf &amp;lt;&amp;lt; Get where clause;
	If(Is missing(w),
		minval = Col Min(:height);
		maxval = Col Max(:height);
	,
		Substitute Into(w, "Select ", "Get Rows ");
		r = Eval(EvalExpr(Send(dt, Expr(Parse(w)))));
		minval = Min(dt[r, "height"]);
		maxval = Max(dt[r, "height"]);
	);		
	
	title = Eval Insert("^minval^ &amp;lt; height: &amp;lt; ^maxval^");
	gb &amp;lt;&amp;lt; Dispatch({}, "graph 1 title", TextEditBox, {Set Text(title)});
);

rs = ldf &amp;lt;&amp;lt; Make Filter Change Handler(f);

f(0); // run once&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Dec 2025 05:41:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916348#M107674</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-03T05:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916367#M107679</link>
      <description>&lt;P&gt;related discussion - with similar solutions:&lt;BR /&gt;&lt;LI-MESSAGE title="Is it possible to dynamically update &amp;amp;quot;graph title&amp;amp;quot; based item selection in local data filter (including multiple selections)?" uid="639951" url="https://community.jmp.com/t5/Discussions/Is-it-possible-to-dynamically-update-quot-graph-title-quot-based/m-p/639951#U639951" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here are wishes to add this feature to JMP - without the need for scripting:&lt;BR /&gt;&lt;LI-MESSAGE title="Auto population of title - graph builder" uid="480287" url="https://community.jmp.com/t5/JMP-Wish-List/Auto-population-of-title-graph-builder/m-p/480287#U480287" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;LI-MESSAGE title="Local Data Filter: option use the selection as graph title" uid="655140" url="https://community.jmp.com/t5/JMP-Wish-List/Local-Data-Filter-option-use-the-selection-as-graph-title/m-p/655140#U655140" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;the idea: the user can specify which entries of the data filter are added to the title:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1764748000408.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88146iD7E9F4B99F67C269/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1764748000408.png" alt="hogi_0-1764748000408.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 15:06:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916367#M107679</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T15:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916415#M107683</link>
      <description>&lt;P&gt;Hello, sorry for the confusion, I should have been more specific. From the whole data set. As my data set updates, I would want those dates to update as well in the subtitle.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 14:13:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916415#M107683</guid>
      <dc:creator>ACraig</dc:creator>
      <dc:date>2025-12-03T14:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916416#M107684</link>
      <description>&lt;P&gt;Like this?&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/US Regional Population.jmp" );
dt:Year &amp;lt;&amp;lt; Data Type( "Numeric" );
dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Show Subtitle( 1 ),
	Variables( X( :Year ), Y( :Population ), Overlay( :Region ) ),
	Elements( Points( X, Y, Legend( 18 ) ) ),
	SendToReport(
		Dispatch( {}, "graph 1 title", TextEditBox,
			{Set Text( Char( Col Min( :Year ) ) || " - " || Char( Col Max( :Year ) ) )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Dec 2025 14:27:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/916416#M107684</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-12-03T14:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Dynamic Subtitles</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/918408#M107781</link>
      <description>&lt;P&gt;That worked wonderfully! Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 17:10:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Dynamic-Subtitles/m-p/918408#M107781</guid>
      <dc:creator>ACraig</dc:creator>
      <dc:date>2025-12-08T17:10:24Z</dc:date>
    </item>
  </channel>
</rss>

