<?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 Color by column in multiple dashboards in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/560009#M77349</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to create a tabbed dashboard from the same data table, each tab is for a particular tool type. I would like to like to color the plots in each tab by that particuar tool type using "color by column". However, once the second tab uses the color by column, the previous tab's color scheme changes. Is there any way to prevent this so that the coloring scheme is for previous tab is not changed by the coloring scheme in next tab?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code looks like (I am using JMP16.12) ---&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/* ToolSet A Dashboard */
dt&amp;lt;&amp;lt;color by column(:ToolA_ID, color theme ("JMP Dark"));
...dashboard code for ToolSet A
/* ToolSet B Dashboard */
dt&amp;lt;&amp;lt;color by column(:ToolB_ID, color theme ("JMP Dark"));
...dashboard code for ToolSet B&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:28:42 GMT</pubDate>
    <dc:creator>SM1956</dc:creator>
    <dc:date>2023-06-11T11:28:42Z</dc:date>
    <item>
      <title>Color by column in multiple dashboards</title>
      <link>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/560009#M77349</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to create a tabbed dashboard from the same data table, each tab is for a particular tool type. I would like to like to color the plots in each tab by that particuar tool type using "color by column". However, once the second tab uses the color by column, the previous tab's color scheme changes. Is there any way to prevent this so that the coloring scheme is for previous tab is not changed by the coloring scheme in next tab?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code looks like (I am using JMP16.12) ---&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/* ToolSet A Dashboard */
dt&amp;lt;&amp;lt;color by column(:ToolA_ID, color theme ("JMP Dark"));
...dashboard code for ToolSet A
/* ToolSet B Dashboard */
dt&amp;lt;&amp;lt;color by column(:ToolB_ID, color theme ("JMP Dark"));
...dashboard code for ToolSet B&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:28:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/560009#M77349</guid>
      <dc:creator>SM1956</dc:creator>
      <dc:date>2023-06-11T11:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Color by column in multiple dashboards</title>
      <link>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/561691#M77479</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There are many people in this community that are better than me for answering questions about scripting.&lt;/P&gt;
&lt;P&gt;However, I wonder if setting the color theme as a column property might prevent the problems that you are having.&lt;/P&gt;
&lt;P&gt;Below is an example of changing a Color Gradient column property.&lt;/P&gt;
&lt;P&gt;I hope this helps,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

//Set Color Gradient column property for Weight to "Magma"
:weight &amp;lt;&amp;lt; Set Property(
	"Color Gradient",
	{"Magma", Range( {64, 172, 105} )}
);

dt &amp;lt;&amp;lt; Graph Builder(
	Size( 522, 408 ),
	Show Control Panel( 0 ),
	Variables( Y( :weight ), Color( :weight ) ),
	Elements( Points( Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Marker Size( 6 ), Marker Drawing Mode( "Normal" )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Oct 2022 10:04:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/561691#M77479</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2022-10-28T10:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Color by column in multiple dashboards</title>
      <link>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/561896#M77499</link>
      <description>&lt;P&gt;Phil_Kay,&lt;/P&gt;&lt;P&gt;Thank you for your response. Graph builder preserves the color scheme but One Way analysis does not. I am enclosing a sample data table and scriptt. Once the second One Way analysis is run, colors on the first One Way analysis change, resulting in jumbled up colors for the Y by Tool 1 ID plot.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 16:34:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Color-by-column-in-multiple-dashboards/m-p/561896#M77499</guid>
      <dc:creator>SM1956</dc:creator>
      <dc:date>2022-10-28T16:34:47Z</dc:date>
    </item>
  </channel>
</rss>

