<?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 How can add a specified scale to a bar chart? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772838#M95344</link>
    <description>&lt;P&gt;For example, using this script to add the "pla" column,&lt;BR /&gt;How do I add this to the horizontal scale of the bar chart?&lt;/P&gt;&lt;P&gt;Thanks Experts!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; New Column( "ran", Numeric, Continuous, Set Formula( Col Shuffle() ) );
ca="pla";New Column(ca);Column(ca)&amp;lt;&amp;lt;Formula( round(ran/40*100,0) );dt&amp;lt;&amp;lt;run formulas;Column(ca)&amp;lt;&amp;lt;deleteFormula;
p1=dt&amp;lt;&amp;lt; Graph Builder(
	Transform Column( "rows", Formula( Row() ) ),
	Size( 536, 459 ),
	Show Control Panel( 0 ),
	Variables( X( :rows ), Y( :weight ) ),
	Elements( Bar( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model(
				5,
				Properties( 0, {Transparency( 0.5 )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-07-13_19-47-04.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66124i0C6751F0EDDF774D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-07-13_19-47-04.png" alt="2024-07-13_19-47-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jul 2024 11:55:48 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2024-07-13T11:55:48Z</dc:date>
    <item>
      <title>How can add a specified scale to a bar chart?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772838#M95344</link>
      <description>&lt;P&gt;For example, using this script to add the "pla" column,&lt;BR /&gt;How do I add this to the horizontal scale of the bar chart?&lt;/P&gt;&lt;P&gt;Thanks Experts!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; New Column( "ran", Numeric, Continuous, Set Formula( Col Shuffle() ) );
ca="pla";New Column(ca);Column(ca)&amp;lt;&amp;lt;Formula( round(ran/40*100,0) );dt&amp;lt;&amp;lt;run formulas;Column(ca)&amp;lt;&amp;lt;deleteFormula;
p1=dt&amp;lt;&amp;lt; Graph Builder(
	Transform Column( "rows", Formula( Row() ) ),
	Size( 536, 459 ),
	Show Control Panel( 0 ),
	Variables( X( :rows ), Y( :weight ) ),
	Elements( Bar( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model(
				5,
				Properties( 0, {Transparency( 0.5 )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-07-13_19-47-04.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66124i0C6751F0EDDF774D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-07-13_19-47-04.png" alt="2024-07-13_19-47-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 11:55:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772838#M95344</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-07-13T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can add a specified scale to a bar chart?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772849#M95345</link>
      <description>&lt;P&gt;Basically, all that needs to be done is to&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Drag Rows to the X axis&lt;/LI&gt;
&lt;LI&gt;Drag PLA and Weight to the Y axis&lt;/LI&gt;
&lt;LI&gt;Select the Bar chart Icon to change the chart to a Bar chart&lt;/LI&gt;
&lt;LI&gt;Right click on the graph and select
&lt;OL&gt;
&lt;LI&gt;Add=&amp;gt;Points&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to the Properties for the Bar
&lt;OL&gt;
&lt;LI&gt;Open the Variables paragraph&lt;/LI&gt;
&lt;LI&gt;Unselect PLA&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to the Properties for the Points
&lt;OL&gt;
&lt;LI&gt;Open the Variables paragraph&lt;/LI&gt;
&lt;LI&gt;Unselect Weight&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to the legend
&lt;OL&gt;
&lt;LI&gt;Right click on the PLA marker and select Marker&lt;/LI&gt;
&lt;LI&gt;Change the to your marker of choice&lt;/LI&gt;
&lt;LI&gt;Click again on the PLA marker and select Color&lt;/LI&gt;
&lt;LI&gt;Change the color to Red&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1720874093703.png" style="width: 765px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66125iF52A34CC3872955F/image-dimensions/765x599?v=v2" width="765" height="599" role="button" title="txnelson_0-1720874093703.png" alt="txnelson_0-1720874093703.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 12:40:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772849#M95345</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-07-13T12:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can add a specified scale to a bar chart?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772851#M95346</link>
      <description>&lt;P&gt;Thank Jim!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-07-13_21-09-35.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66126i44FF59DF6CBDEF9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-07-13_21-09-35.png" alt="2024-07-13_21-09-35.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 13:12:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772851#M95346</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-07-13T13:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can add a specified scale to a bar chart?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772926#M95362</link>
      <description>&lt;P&gt;Other good option is to use two bar charts. Disable Variables and pick Float as bar style for the one you wish to use for lines&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1720984425698.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66137iDE24BDCAEB3D0025/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1720984425698.png" alt="jthi_0-1720984425698.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 19:16:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-add-a-specified-scale-to-a-bar-chart/m-p/772926#M95362</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-07-14T19:16:06Z</dc:date>
    </item>
  </channel>
</rss>

