<?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: How do I change graph builder color in JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-change-graph-builder-color-in-JSL/m-p/702987#M88729</link>
    <description>&lt;P&gt;The Color() element indicates to apply different colors to different values of the color column.&amp;nbsp; It does not specify the color it's self.&amp;nbsp; To change the color in JSL, the best thing to do, is to interactively make the changes you want, and then to have JMP show you the JSL that will recreate the graph as you have created.&amp;nbsp; Here is a rework of your code to show a different color for each graph&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Graph Builder(
	Size( 1164, 556 ),
	Variables( X( :A1 ), Y( :Y ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Properties( 0, {Line Color( "green" )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);

Graph Builder(
	Size( 1164, 556 ),
	Variables( X( :A2 ), Y( :Y ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Properties( 0, {Line Color( "Blue" )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);

Graph Builder(
	Size( 1164, 556 ),
	Variables( X( :A3 ), Y( :Y ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Properties( 0, {Line Color( "Red" )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Additionally, please use the&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1701055690340.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59078i84258C788D58057F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1701055690340.png" alt="txnelson_1-1701055690340.png" /&gt;&lt;/span&gt;&amp;nbsp;to enter JSL in your discussions.&amp;nbsp; It makes it much easier for Community Members to read the JSL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 03:29:56 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-11-27T03:29:56Z</dc:date>
    <item>
      <title>How do I change graph builder color in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-change-graph-builder-color-in-JSL/m-p/702939#M88728</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I made several Graph Builders below with JSL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the syntax for dividing colors based on the column :XX.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I made several graphs, all of them came out the same color as "blue."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to give different colors for each graph builder, what options are available?&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb1 = dt &amp;lt;&amp;lt;
Graph Builder(
	Size( 1200, 600 ),
	Variables(
		X( :A1, Position( 1 ) ),
		Y( :Y ),
		Color( :XX )
	)
);
 

gb2 = dt &amp;lt;&amp;lt;
Graph Builder(
	Size( 1200, 600 ),
	Variables(
		X( :A2, Position( 1 ) ),
		Y( :Y ),
		Color( :XX )
	)
);


gb3 = dt &amp;lt;&amp;lt;
Graph Builder(
	Size( 1200, 600 ),
	Variables(
		X( :A3, Position( 1 ) ),
		Y( :Y ),
		Color( :XX )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Nov 2023 03:13:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-change-graph-builder-color-in-JSL/m-p/702939#M88728</guid>
      <dc:creator>PruningTheKoala</dc:creator>
      <dc:date>2023-11-27T03:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change graph builder color in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-change-graph-builder-color-in-JSL/m-p/702987#M88729</link>
      <description>&lt;P&gt;The Color() element indicates to apply different colors to different values of the color column.&amp;nbsp; It does not specify the color it's self.&amp;nbsp; To change the color in JSL, the best thing to do, is to interactively make the changes you want, and then to have JMP show you the JSL that will recreate the graph as you have created.&amp;nbsp; Here is a rework of your code to show a different color for each graph&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Graph Builder(
	Size( 1164, 556 ),
	Variables( X( :A1 ), Y( :Y ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Properties( 0, {Line Color( "green" )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);

Graph Builder(
	Size( 1164, 556 ),
	Variables( X( :A2 ), Y( :Y ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Properties( 0, {Line Color( "Blue" )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);

Graph Builder(
	Size( 1164, 556 ),
	Variables( X( :A3 ), Y( :Y ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Properties( 0, {Line Color( "Red" )}, Item ID( "weight", 1 ) )
			)}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Additionally, please use the&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1701055690340.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59078i84258C788D58057F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1701055690340.png" alt="txnelson_1-1701055690340.png" /&gt;&lt;/span&gt;&amp;nbsp;to enter JSL in your discussions.&amp;nbsp; It makes it much easier for Community Members to read the JSL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 03:29:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-change-graph-builder-color-in-JSL/m-p/702987#M88729</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-11-27T03:29:56Z</dc:date>
    </item>
  </channel>
</rss>

