<?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: RGB color values changing in Graph Builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248922#M48866</link>
    <description>&lt;P&gt;I tried a simple example with JMP 15 and Windows 10 and didn't have this problem.&amp;nbsp; Click the red triangle and select Save Script &amp;gt; To Script Window.&amp;nbsp; You'll see where JSL is setting the colors.&amp;nbsp; You can alter the code and use your colors.&amp;nbsp; Here's a simple example where I set one color to RGB of 225, 79, 113:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "Pie Color", Add Rows( 14 ), 
	New Column( "Column 1", Character, "Nominal",
		Set Values( {"aaa", "aaa", "aaa", "bbb", "bbb", "bbb", "bbb", "ccc", "ccc", "ccc",
					 "ccc", "ccc", "ccc", "ccc"}
		)
	)
);

dt &amp;lt;&amp;lt; Graph Builder(
	Size( 490, 435 ),
	Show Control Panel( 0 ),
	Variables( X( :Column 1 ) ),
	Elements( Pie( X, Legend( 5 ) ) ),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model( 5,
				Properties( 0, {Fill Color( -14765937 )}, Item ID( "aaa", 1 ) )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The saved JSL shows a fill color of&amp;nbsp;-14765937.&amp;nbsp; If you convert this to RGB you get (.8823, .3098, .4431), which is (225, 79, 113).&amp;nbsp; You can set the color with RGB values like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;				Properties( 0, {Fill Color( {225, 79, 113} )}, Item ID( "aaa", 1 ) )
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 24 Feb 2020 14:26:37 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2020-02-24T14:26:37Z</dc:date>
    <item>
      <title>RGB color values changing in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248780#M48835</link>
      <description>&lt;P&gt;I am trying to create a pie chart with specific colors using RGB values. &amp;nbsp;By "right-clicking" on the legend, I can select "Fill Color" --&amp;gt; "Other". &amp;nbsp;From there, I can select the specific RGB value. &amp;nbsp;I enter the following RGB values: R (225), B (79), G (113). &amp;nbsp;However, after I select "Ok" and look at the pie chart, I can tell it's not the correct color. &amp;nbsp;When I go back in to look at the color, the RGB values show: &amp;nbsp;R (214), B (54), G (94). &amp;nbsp;This RGB color shift is also happening to other custom colors I am trying to utilize. &amp;nbsp;I just updated to JMP 15.0.0 and did &lt;U&gt;NOT&lt;/U&gt; have this issue on JMP 14. &amp;nbsp;Also, I am using a Mac. &amp;nbsp;Can anyone please help me with what I may be doing wrong?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 01:46:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248780#M48835</guid>
      <dc:creator>EH1</dc:creator>
      <dc:date>2020-02-22T01:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: RGB color values changing in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248922#M48866</link>
      <description>&lt;P&gt;I tried a simple example with JMP 15 and Windows 10 and didn't have this problem.&amp;nbsp; Click the red triangle and select Save Script &amp;gt; To Script Window.&amp;nbsp; You'll see where JSL is setting the colors.&amp;nbsp; You can alter the code and use your colors.&amp;nbsp; Here's a simple example where I set one color to RGB of 225, 79, 113:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "Pie Color", Add Rows( 14 ), 
	New Column( "Column 1", Character, "Nominal",
		Set Values( {"aaa", "aaa", "aaa", "bbb", "bbb", "bbb", "bbb", "ccc", "ccc", "ccc",
					 "ccc", "ccc", "ccc", "ccc"}
		)
	)
);

dt &amp;lt;&amp;lt; Graph Builder(
	Size( 490, 435 ),
	Show Control Panel( 0 ),
	Variables( X( :Column 1 ) ),
	Elements( Pie( X, Legend( 5 ) ) ),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model( 5,
				Properties( 0, {Fill Color( -14765937 )}, Item ID( "aaa", 1 ) )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The saved JSL shows a fill color of&amp;nbsp;-14765937.&amp;nbsp; If you convert this to RGB you get (.8823, .3098, .4431), which is (225, 79, 113).&amp;nbsp; You can set the color with RGB values like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;				Properties( 0, {Fill Color( {225, 79, 113} )}, Item ID( "aaa", 1 ) )
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Feb 2020 14:26:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248922#M48866</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2020-02-24T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: RGB color values changing in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248926#M48867</link>
      <description>&lt;P&gt;To convert&amp;nbsp;-14765937 to RGB values:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;c = color to rgb(-14765937);
{0.882352941176471, 0.309803921568627, 0.443137254901961}
d = c * 255;
{225, 79, 113}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExamplePie.png" style="width: 575px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/21881i6A6C6F8165A4D704/image-size/large?v=v2&amp;amp;px=999" role="button" title="ExamplePie.png" alt="ExamplePie.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 14:29:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/248926#M48867</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2020-02-24T14:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: RGB color values changing in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/249059#M48908</link>
      <description>&lt;P&gt;This looks like it might be a bug. It would be best to pass it to Tech Support (&lt;A href="mailto:support@jmp.com" target="_blank"&gt;support@jmp.com&lt;/A&gt;) to ensure it gets investigated and reported appropriately.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 16:30:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/249059#M48908</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-02-25T16:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: RGB color values changing in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/379068#M62895</link>
      <description>&lt;P&gt;Thanks for reporting this issue. JMP Development has looked at it and made improvements. The fix will be available in JMP 16.1 and higher, which will be available in summer 2021.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 18:22:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RGB-color-values-changing-in-Graph-Builder/m-p/379068#M62895</guid>
      <dc:creator>Audrey_Shull</dc:creator>
      <dc:date>2021-04-22T18:22:17Z</dc:date>
    </item>
  </channel>
</rss>

