<?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: Identifying Titles of Graph Builder Page Titles in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426597#M67644</link>
    <description>&lt;P&gt;For page, group, and wrap variables you can set a column property defining the value order and then use that to be sure of which plot is which.&amp;nbsp; I often want to change the column or level names anyway and now this can all be done in a transform column:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open("$SAMPLE_DATA/Big Class.jmp");

pageOrder = {"Female", "Male"};

Eval( Eval Expr(
	gb = Graph Builder(
		Size( 378, 714 ),
		Show Control Panel( 0 ),
		Show Legend( 0 ),
		Variables(
			X( :height ),
			Y( :weight ),
			Page( Transform Column( "Respondent Sex", Nominal, Set Property("Value Order", {Custom Order( Expr( pageOrder ))}), Formula( if(:sex=="M", "Male", "Female" ) ) ) )
		),
		Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) )
	)
) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Side note: The&amp;nbsp;GraphBuilderGroupBox you referenced probably does not contain that text, note that if you set the visibility to hidden the heading is still there. I think this element just doesn't show up in the tree, sort of like how individual points aren't in there.&amp;nbsp; It would be nice if both were accessible!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 18:22:31 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2021-10-14T18:22:31Z</dc:date>
    <item>
      <title>Identifying Titles of Graph Builder Page Titles</title>
      <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426334#M67616</link>
      <description>&lt;P&gt;In the following graph, I want to be able to identify the page titles:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Burnham_0-1634208979448.png" style="width: 367px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36561i2DAE2C1B61C53231/image-dimensions/367x664?v=v2" width="367" height="664" role="button" title="David_Burnham_0-1634208979448.png" alt="David_Burnham_0-1634208979448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;i.e. "sex = F" and "sex = M".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the display tree it would appear that the titles are associated with a display box of type &lt;STRONG&gt;GraphBuilderGroupBox:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Burnham_1-1634209205820.png" style="width: 562px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36562i433D708883ABCD8C/image-dimensions/562x447?v=v2" width="562" height="447" role="button" title="David_Burnham_1-1634209205820.png" alt="David_Burnham_1-1634209205820.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open("$SAMPLE_DATA/Big Class.jmp");

gb = Graph Builder(
	Size( 378, 714 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :height ), Y( :weight ), Page( :sex ) ),
	Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) )
);
rep = gb &amp;lt;&amp;lt; report;

lst = rep &amp;lt;&amp;lt; xpath("//GraphBuilderGroupBox");
for (i=1,i&amp;lt;=nitems(lst),i++,
	title = lst[i] &amp;lt;&amp;lt; get text;
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Unfortunately this doesn't work (title = "" for both pages).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&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>Sun, 11 Jun 2023 11:18:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426334#M67616</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2023-06-11T11:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Titles of Graph Builder Page Titles</title>
      <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426377#M67621</link>
      <description>&lt;P&gt;This is one element I havent figured out how to directly access with Report layer or Xpath &lt;A href="https://community.jmp.com/t5/Discussions/GraphBuilderGroupBox-lt-lt-Get-Window-Title-issue/m-p/423554" target="_blank" rel="noopener"&gt;//GraphBuilderGroupBox &amp;lt;&amp;lt; Get Window Title issue&lt;/A&gt; . Not sure if they could be built somehow using Get Variables&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Open("$SAMPLE_DATA/Big Class.jmp");

gb = Graph Builder(
	Size( 378, 714 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :height ), Y( :weight ), Page( :sex ) ),
	Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) )
);
gbb = Report(gb)[Graph Builder Box(1)];
Show(gbb &amp;lt;&amp;lt; get variables);
Show(gbb &amp;lt;&amp;lt; get variable(1));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Oct 2021 12:30:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426377#M67621</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-10-14T12:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Titles of Graph Builder Page Titles</title>
      <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426380#M67622</link>
      <description>&lt;P&gt;Wow! That is one uncooperative box! Try using rep&amp;lt;&amp;lt;getJournal and hunting for LabelBox(label(\!"sex = F\!") stuff. At least in JMP 16, for the simple big class example, the LabelBoxes in the journal and the GraphBuilderGroupBoxes&amp;nbsp; seem to run in parallel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/494"&gt;@XanGregg&lt;/a&gt;the box in question transforms itself into something friendlier when journaled. But in isolation, in the live graph builder, it won't say anything about itself.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 12:43:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426380#M67622</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-10-14T12:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Titles of Graph Builder Page Titles</title>
      <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426597#M67644</link>
      <description>&lt;P&gt;For page, group, and wrap variables you can set a column property defining the value order and then use that to be sure of which plot is which.&amp;nbsp; I often want to change the column or level names anyway and now this can all be done in a transform column:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open("$SAMPLE_DATA/Big Class.jmp");

pageOrder = {"Female", "Male"};

Eval( Eval Expr(
	gb = Graph Builder(
		Size( 378, 714 ),
		Show Control Panel( 0 ),
		Show Legend( 0 ),
		Variables(
			X( :height ),
			Y( :weight ),
			Page( Transform Column( "Respondent Sex", Nominal, Set Property("Value Order", {Custom Order( Expr( pageOrder ))}), Formula( if(:sex=="M", "Male", "Female" ) ) ) )
		),
		Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) )
	)
) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Side note: The&amp;nbsp;GraphBuilderGroupBox you referenced probably does not contain that text, note that if you set the visibility to hidden the heading is still there. I think this element just doesn't show up in the tree, sort of like how individual points aren't in there.&amp;nbsp; It would be nice if both were accessible!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 18:22:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/426597#M67644</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-10-14T18:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Titles of Graph Builder Page Titles</title>
      <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/427367#M67689</link>
      <description>&lt;P&gt;Thanks for that suggestion&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6657"&gt;@ih&lt;/a&gt;&amp;nbsp;. The specific reason for wanting to get the titles of the pages is that I don't know ahead of time the list of potential values (i.e. pageOrder in this example).&amp;nbsp; In the real-world example the chart has over 400 pages (don't ask me why anyone wants a chart that size!) and the number of pages changes in reason to a local data filter.&amp;nbsp; If all else fails I will go back to trying to build that list - for my initial attempt my list contained about 460 elements and the graph only had 407 pages - perhaps some combinations were being excluded due to missing data - I've not investigated that yet - still trying to find the path of least resistance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Oct 2021 12:12:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/427367#M67689</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2021-10-16T12:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Titles of Graph Builder Page Titles</title>
      <link>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/427368#M67690</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp; - looks like this will be a workable solution.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Oct 2021 12:13:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identifying-Titles-of-Graph-Builder-Page-Titles/m-p/427368#M67690</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2021-10-16T12:13:08Z</dc:date>
    </item>
  </channel>
</rss>

