<?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 overlay question in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55031#M31109</link>
    <description>&lt;P&gt;Byron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this. '&lt;/P&gt;&lt;P&gt;That wasn't quite what I meant, though. I want Event to be the x-axis for both panes. I want the left pane to show Event %s for all users,&amp;nbsp;and the right pane to show event %s for one user (let's say user A).&lt;/P&gt;&lt;P&gt;I'll be generating a new graph for each user…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 02:39:14 GMT</pubDate>
    <dc:creator>john_madden</dc:creator>
    <dc:date>2018-04-16T02:39:14Z</dc:date>
    <item>
      <title>Graph builder overlay question</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55027#M31106</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to build a graph from a table that is like this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User&lt;/TD&gt;&lt;TD&gt;Event&lt;/TD&gt;&lt;TD&gt;Frequency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;W&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;!&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want the graph to be two side-by-side bar graphs. The X-axis will be Event.&lt;/P&gt;&lt;P&gt;The left pane should show % of each&amp;nbsp;event type for the group of all users (i.e. numerators are number of each event tyoe for all users, denominator is all events of all users).&lt;/P&gt;&lt;P&gt;The right pane should show % of each event type for one specific user (i.e. numerators are number of each event type for specific user, denominator is all events of&amp;nbsp;specific user).&lt;/P&gt;&lt;P&gt;Ultimatly, I want to produce a separate graph like this for each user.&amp;nbsp;Thus, the left pane would be the same for each graph; the right pane would be specific to one user at a time.&lt;/P&gt;&lt;P&gt;I'm having problems figuring out how to do this. Would appreciate some help.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 01:13:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55027#M31106</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-04-16T01:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder overlay question</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55030#M31108</link>
      <description>&lt;P&gt;Good questions about graphing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Frequency needs contain data that are Numeric, and continuous (little blue triangle icon)&lt;/P&gt;
&lt;P&gt;Event and User are Nominal, already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Drag User to the x axis, and then drag Even to the right hand side of the x-axis&lt;/P&gt;
&lt;P&gt;Drag Freqency into the frequency role on the botton right hand corner of the graphbuilder box&lt;/P&gt;
&lt;P&gt;Choose the Bar chart element from the top of the graphbuilder box&lt;/P&gt;
&lt;P&gt;Then on the left hand pannel, the Elements pannel, change the statistic from Mean to % of total&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just in case that didn't make sense, copy the following script into a script window and run it, when your example table is the primary table.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 393, 201 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :User ), X( :Event ), Frequency( :Frequency ) ),
	Elements(
		Position( 1, 1 ),
		Bar( X, Legend( 20 ), Summary Statistic( "% of Total" ) )
	),
	Elements(
		Position( 2, 1 ),
		Bar( X, Legend( 21 ), Summary Statistic( "% of Total" ) )
	),
	SendToReport( Dispatch( {}, "", ScaleBox, {Min( 0 )} ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-15 at 10.16.05 PM.png" style="width: 810px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10382iD557AF5BD672995A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-15 at 10.16.05 PM.png" alt="Screen Shot 2018-04-15 at 10.16.05 PM.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 02:16:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55030#M31108</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-04-16T02:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder overlay question</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55031#M31109</link>
      <description>&lt;P&gt;Byron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this. '&lt;/P&gt;&lt;P&gt;That wasn't quite what I meant, though. I want Event to be the x-axis for both panes. I want the left pane to show Event %s for all users,&amp;nbsp;and the right pane to show event %s for one user (let's say user A).&lt;/P&gt;&lt;P&gt;I'll be generating a new graph for each user…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 02:39:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55031#M31109</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-04-16T02:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder overlay question</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55039#M31117</link>
      <description>I'm not what you are asking is possible without adding the combined user Event summary data as new 'user'. That way you can use a local filter on the user in question plus the 'all users' results. Putting 'user' in the wrap or group X role should then allow you to produce the graph you desire.</description>
      <pubDate>Mon, 16 Apr 2018 07:10:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55039#M31117</guid>
      <dc:creator>stephen_pearson</dc:creator>
      <dc:date>2018-04-16T07:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder overlay question</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55047#M31124</link>
      <description>&lt;P&gt;Two ways to do that, both methods use two separate GB frames and the Combine Windows feature.&lt;/P&gt;
&lt;P&gt;1. Left frame is filtered by user with a local data filter&lt;/P&gt;
&lt;P&gt;2. Left frame, :User is in the Wrap role, then only display one user at a time and use the arrow buttons to "Tab" between users.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:50:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55047#M31124</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-04-16T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder overlay question</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55081#M31131</link>
      <description>&lt;P&gt;Byron &amp;amp; Stephen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Byron, thanks much, that's exactly&amp;nbsp;what I wanted.&lt;/P&gt;&lt;P&gt;Stephen,&amp;nbsp;I think you are right that it's not possible to do in a single graph builder frame, because you can't apply filters or column switcher differentially to the two panes. I struggled with trying to figure out a way to reconfigure the table, and like you I gave up.&lt;/P&gt;&lt;P&gt;Byron, the idea of using Combine Windows solves this problem.&lt;/P&gt;&lt;P&gt;Thanks to you both!!!!&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:58:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-overlay-question/m-p/55081#M31131</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-04-16T13:58:25Z</dc:date>
    </item>
  </channel>
</rss>

