<?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: Customizing space between bars in graph builder/aligning data points to bar graph? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528389#M75208</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1659195775662.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44428i82568EB914F3E62F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1659195775662.png" alt="txnelson_0-1659195775662.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I strongly suggest that you take the time to read the section on Graph Builder in the Essential Graphing document found in the JMP Documentation Library, available under the Help pull down menu&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2022 15:44:22 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-07-30T15:44:22Z</dc:date>
    <item>
      <title>Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528349#M75204</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a bar graph in JMP Pro and having an issue customizing my graphs. For example, for the graph below, I would like to adjust the spacing to make my two treatments (Mock/H1N1) closer together, while keeping the spacing the same between the hours variable.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graph spacing issue 1.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44421i9C6250CDAE042D92/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph spacing issue 1.png" alt="graph spacing issue 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm able to achieve this when I overlay my treatment variable (see graph below), but then when I try to add the individual data points to my bar graph, they do not align with the bars.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graph spacing issue 2.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44422i90238F30805695AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph spacing issue 2.png" alt="graph spacing issue 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is anyone able to help me figure this out? I would like to either adjust the spacing in the first graph, or know how to align the data points with the bars in the second graph. Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:26:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528349#M75204</guid>
      <dc:creator>kijohn</dc:creator>
      <dc:date>2023-06-11T11:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528382#M75206</link>
      <description>&lt;P&gt;Welcome to the Community.&lt;/P&gt;
&lt;P&gt;Here are the results I was able to produce&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1659192642622.png" style="width: 656px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44424i44AACD0D93520FE3/image-dimensions/656x685?v=v2" width="656" height="685" role="button" title="txnelson_0-1659192642622.png" alt="txnelson_0-1659192642622.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The first notable change, is that I specified Hours as an X axis group.&amp;nbsp; The grouping display has also been moved to the bottom of the chart.&amp;nbsp; By grouping, the different charts in the groups will be treated as separate charts.&amp;nbsp; So what I then did, wans to right click on the graph, and select Customize.&amp;nbsp; In the Customize window, I selected Bar, and set the Width Proportion to 1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1659192941043.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44425i215FEA61CD30C8F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1659192941043.png" alt="txnelson_1-1659192941043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I did this for each grouping.&amp;nbsp; This resulted in the below graph&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1659193045311.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44426i20C4197FBE64A118/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_2-1659193045311.png" alt="txnelson_2-1659193045311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I then went into the X axis settings and changed the range of the X axis from -.5 &amp;lt;&amp;gt; 1.5, to -1 &amp;lt;&amp;gt; 2&lt;/P&gt;
&lt;P&gt;which resulted in the final chart,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the data table I used(it is also attached)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1659193364630.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44427iFD45F627DAD82DAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_3-1659193364630.png" alt="txnelson_3-1659193364630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the script that JMP produced that will recreate the chart&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Graph Builder(
	Size( 518, 490 ),
	Show Control Panel( 0 ),
	X Group Edge( "Bottom" ),
	Variables(
		X( :Treatment ),
		Y( :Fold Change ),
		Group X( :Hours ),
		Color( :Treatment )
	),
	Elements(
		Bar( X, Y, Legend( 6 ), Error Interval( "Range" ) ),
		Points( X, Y, Legend( 7 ) )
	),
	SendToReport(
		Dispatch(
			{},
			"Treatment",
			ScaleBox,
			{Min( -0.5 ), Max( 1.5 ), Inc( 1 ), Minor Ticks( 0 )}
		),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				7,
				Properties( 0, {Line Color( 0 )}, Item ID( "H1N1", 1 ) ),
				Properties( 1, {Line Color( 0 )}, Item ID( "Mock", 1 ) )
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg( BarSeg( 1 ), {Set Width Proportion( 1 )} )}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox( 2 ),
			{DispatchSeg( BarSeg( 1 ), {Set Width Proportion( 1 )} )}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox( 3 ),
			{DispatchSeg( BarSeg( 1 ), {Set Width Proportion( 1 )} )}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 15:22:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528382#M75206</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-07-30T15:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528387#M75207</link>
      <description>&lt;P&gt;Hello, Thank you for your very quick response! I'm a little new to JMP, so where do you go to specify hours as an x-axis group? I think once I do that I will be able to replicate the rest as you've shown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 15:39:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528387#M75207</guid>
      <dc:creator>kijohn</dc:creator>
      <dc:date>2022-07-30T15:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528389#M75208</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1659195775662.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44428i82568EB914F3E62F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1659195775662.png" alt="txnelson_0-1659195775662.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I strongly suggest that you take the time to read the section on Graph Builder in the Essential Graphing document found in the JMP Documentation Library, available under the Help pull down menu&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 15:44:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528389#M75208</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-07-30T15:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528768#M75229</link>
      <description>&lt;P&gt;I see, thank you! I was able to replicate the graph that you made. Is there any way to remove the lines between the x-axis groups? Thank you again for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 13:42:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528768#M75229</guid>
      <dc:creator>kijohn</dc:creator>
      <dc:date>2022-08-01T13:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528811#M75231</link>
      <description>&lt;P&gt;Try setting Graph Spacing to from red triangle menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1659363225390.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44436i0D3991E125BB2BEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1659363225390.png" alt="jthi_0-1659363225390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 14:14:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528811#M75231</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-08-01T14:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528937#M75243</link>
      <description>&lt;P&gt;Great, got it! Thank you both for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 16:43:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528937#M75243</guid>
      <dc:creator>kijohn</dc:creator>
      <dc:date>2022-08-01T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528996#M75248</link>
      <description>&lt;P&gt;Sorry, I'm realizing there is another issue I'm having trouble editing now that I have made the x-axis groupings. I would like to edit the x-axis group labels (font/size, etc) as well as remove the border around this group label if possible, however there does not appear to be an option for this that I can find. I have also tried to look into the Essential Graphing document but have not found an answer to this. Is there a way to edit these group labels?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmp issue.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44452i0ADD5DBEDF8B407A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jmp issue.png" alt="jmp issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 17:57:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/528996#M75248</guid>
      <dc:creator>kijohn</dc:creator>
      <dc:date>2022-08-01T17:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing space between bars in graph builder/aligning data points to bar graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/529007#M75249</link>
      <description>&lt;P&gt;The font and size for the Group display is controlled by a global preference&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;File=&amp;gt;Preferences=&amp;gt;Fonts&lt;/P&gt;
&lt;P&gt;I am not aware of anyway to delete the border of the Group.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 18:29:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Customizing-space-between-bars-in-graph-builder-aligning-data/m-p/529007#M75249</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-08-01T18:29:08Z</dc:date>
    </item>
  </channel>
</rss>

