<?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: Set axis font size outside Graph builder script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44501#M25516</link>
    <description>&lt;P&gt;Thanks a lot Jim, it worked! Just one note for the forum: the script of the graph builder should have the automatic font size set to zero (see below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph = Graph Builder(
	Size( 1836, 599 ),
	Show Control Panel( 0 ),
	Legend Position( "Bottom" ),
	Variables( X( :marker ), Y( :Name( "uma" ) ), Y( :Name( "ina" ), Position( 1 ) ) ),
	Elements( Bar( X, Y( 1 ), Y( 2 ), Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"marker",
			ScaleBox,
			{Label Row(
				{Automatic Font Size( 0 ), Show Major Grid( 1 ), Set Font Size( 6 )}//THIS SETS AUTOMATIC FONT SIZE TO ZERO!!
			)}
		),
		Dispatch(
			{},
			"uma",
			ScaleBox,
			{Add Ref Line( -4, "Dotted", "Black", "", 1 ), Add Ref Line( 4, "Dotted", "Black", "", 1 )}
		)
	)
);
Report( graph )[axis box( 1 )] &amp;lt;&amp;lt; label row( set font size( 14 ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 16:52:07 GMT</pubDate>
    <dc:creator>Eduardo</dc:creator>
    <dc:date>2018-09-11T16:52:07Z</dc:date>
    <item>
      <title>Set axis font size outside Graph builder script</title>
      <link>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44433#M25478</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I've been searching for this one...including the scripting index under help. I would like to change the font size &amp;nbsp;of my x-axis using a code line outside the graph builder script. Please see below. I tried the line&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Report(graph)[Axis Box( 1 )] &amp;lt;&amp;lt; Axis Settings({Set Font Size(14)}) but this line does not work of course. I know how to change the font size within the script of graph builder, but how to do it via a code line outside so that at any time I can change the font size of my x-axis? Thanks for any help! I'm using JMP 12.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph = Graph Builder(
	Size( 1836, 599 ),
	Show Control Panel( 0 ),
	Legend Position( "Bottom" ),
	Variables( X( :marker ), Y( :Name( "uma" ) ), Y( :Name( "ina" ), Position( 1 ) ) ),
	Elements( Bar( X, Y( 1 ), Y( 2 ), Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"marker",
			ScaleBox,
			{Label Row( {Show Major Grid( 1 ), Set Font Size( 6 )} )} //this way I know but I want to do it from outside
		),
		Dispatch(
			{},
			"uma",
			ScaleBox,
			{Add Ref Line( -4, "Dotted", "Black", "", 1 ), Add Ref Line( 4, "Dotted", "Black", "", 1 )}
		)
	)
);
 
Report( graph )[Axis Box( 1 )] &amp;lt;&amp;lt; Axis Settings( {Set Font Size( 14 )} );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Sep 2018 17:06:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44433#M25478</guid>
      <dc:creator>Eduardo</dc:creator>
      <dc:date>2018-09-11T17:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set axis font size outside Graph builder script</title>
      <link>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44442#M25481</link>
      <description>&lt;P&gt;You need to pass your request to the Axis Box();&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph = Graph Builder(
	Size( 1836, 599 ),
	Show Control Panel( 0 ),
	Legend Position( "Bottom" ),
	Variables( X( :marker ), Y( :Name( "uma" ) ), Y( :Name( "ina" ), Position( 1 ) ) ),
	Elements( Bar( X, Y( 1 ), Y( 2 ), Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"marker",
			ScaleBox,
			{Label Row( {Show Major Grid( 1 ), Set Font Size( 6 )} )} //this way I know but I want to do it from outside
		),
		Dispatch(
			{},
			"uma",
			ScaleBox,
			{Add Ref Line( -4, "Dotted", "Black", "", 1 ),
			Add Ref Line( 4, "Dotted", "Black", "", 1 )}
		)
	)
);
 
report(graph)[axis box(1)]&amp;lt;&amp;lt;label row(set font size(14));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Sep 2017 00:20:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44442#M25481</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-09-13T00:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set axis font size outside Graph builder script</title>
      <link>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44501#M25516</link>
      <description>&lt;P&gt;Thanks a lot Jim, it worked! Just one note for the forum: the script of the graph builder should have the automatic font size set to zero (see below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph = Graph Builder(
	Size( 1836, 599 ),
	Show Control Panel( 0 ),
	Legend Position( "Bottom" ),
	Variables( X( :marker ), Y( :Name( "uma" ) ), Y( :Name( "ina" ), Position( 1 ) ) ),
	Elements( Bar( X, Y( 1 ), Y( 2 ), Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"marker",
			ScaleBox,
			{Label Row(
				{Automatic Font Size( 0 ), Show Major Grid( 1 ), Set Font Size( 6 )}//THIS SETS AUTOMATIC FONT SIZE TO ZERO!!
			)}
		),
		Dispatch(
			{},
			"uma",
			ScaleBox,
			{Add Ref Line( -4, "Dotted", "Black", "", 1 ), Add Ref Line( 4, "Dotted", "Black", "", 1 )}
		)
	)
);
Report( graph )[axis box( 1 )] &amp;lt;&amp;lt; label row( set font size( 14 ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 16:52:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-axis-font-size-outside-Graph-builder-script/m-p/44501#M25516</guid>
      <dc:creator>Eduardo</dc:creator>
      <dc:date>2018-09-11T16:52:07Z</dc:date>
    </item>
  </channel>
</rss>

