<?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: degree of &amp;quot;faded&amp;quot; for &amp;quot;unselected faded&amp;quot; in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472626#M71732</link>
    <description>&lt;P&gt;Very smooth approach!&lt;BR /&gt;A dynamic column formula - cool.&lt;BR /&gt;That gives a lot of flexibility - and so easy :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 13:45:50 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2022-03-24T13:45:50Z</dc:date>
    <item>
      <title>How to set the degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/469311#M71310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when data points in a graph are selected, the other data points get faded (by default and if the marker selection mode is set so; other options are also possible).&lt;/P&gt;
&lt;P&gt;Faded means "same color, but not so intense".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an option to define the degree of "faded"?&lt;/P&gt;
&lt;P&gt;When the graph gets exported to "interactive html", the unselected points are "just" white&lt;/P&gt;
&lt;P&gt;- but actually, this makes it much easier to distinguish between selected and unselected data points.&lt;/P&gt;
&lt;P&gt;Sometimes more and sometimes less fading is preferred, so would be great if there is already an option to set the degree of "faded" ...&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:22:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/469311#M71310</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-11T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/469330#M71311</link>
      <description>&lt;P&gt;You might try Color or Mark by Column (under the red arrow in the data table rows) and use a continuous column. The colors will vary according to that column's values (they are binned).&amp;nbsp; I don't know if they will show up if you are excluding (but not hiding) any rows, but I think this may be what you want.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 13:02:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/469330#M71311</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2022-03-12T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/469331#M71312</link>
      <description>&lt;P&gt;I don't think that this can be set, and I would not use it the way you describe.&lt;/P&gt;
&lt;P&gt;There are a lot other possibilities to mark rows/points, eg. by color, marker, size, label, position in graph ... Do you really need another dimension?&lt;/P&gt;
&lt;P&gt;A workaround (to get functionality you want) may be, that you put in a formula that converts the colors of the non selected to a more degraded, and that you define that as the color row state.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 13:11:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/469331#M71312</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-03-12T13:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/471314#M71568</link>
      <description>&lt;P&gt;&amp;nbsp;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9474"&gt;@Georg&lt;/a&gt;,&lt;BR /&gt;this could work.&lt;BR /&gt;How do I trigger execution of the jsl code after selecting the data points?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:46:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/471314#M71568</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-03-22T19:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472063#M71670</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4587"&gt;@danschikore&lt;/a&gt;&amp;nbsp;gave me the hint to use a row state handler. -&amp;gt; cool functionality, thanks :)&lt;/img&gt;&lt;BR /&gt;Now I can trigger a function f by any data point selection:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; make row state handler( f );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as so often in life, you solve 1 problem and there 2 new ones:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) the GraphBuilder color setting overrides the row color setting&lt;BR /&gt;-&amp;gt; is there a setting to make the row color setting override the GraphBuilder color?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and much more severe:&lt;/P&gt;&lt;P&gt;b) the row state handler reacts on any change of the row state - unfortunately also my new "label" and "color" changes.&lt;BR /&gt;and the log tells me that "row states should not be changed by Row State Handler".&lt;BR /&gt;Is there a way to just react on "selection" changes and not on all the row state changes?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Holger_0-1647972407023.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41032i279F224ABB7EBA02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Holger_0-1647972407023.png" alt="Holger_0-1647972407023.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
f = Function( {a}, 
	selected = dt &amp;lt;&amp;lt; Get selected Rows();
	if(N Row(selected)&amp;gt;0,
		print("change size &amp;amp; font");
		rs = dt &amp;lt;&amp;lt; get row states;
		bits0 = (mod(rs, 2)==1); 			//select
		bits1 = (mod(floor(rs/2),2)==1)*2;	//exclude
		bits2 = (mod(floor(rs/4),2)==1)*4;	//hide
		highlight = 200;				 // large dot, label (keep the automatic color)
		faded = 8192;					//light gray --&amp;gt; unfortunately, no effect
		setStates = bits0 + bits1 + bits2 + highlight * bits0 + faded *(1-bits0);
		show(rs, bits0,bits1,bits2,setStates);
		dt &amp;lt;&amp;lt; Set Row States (setStates);
		);
 );
 
dt &amp;lt;&amp;lt;  Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ),  Color( :sex ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
);
 
 
rs = dt &amp;lt;&amp;lt; make row state handler( f );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:11:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472063#M71670</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-03-22T19:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472295#M71694</link>
      <description>&lt;P&gt;Another way to react to row state changes is to create new columns with formulas that use the row states.&amp;nbsp; Then you can use these columns in Graph Builder (or other platform) and they will react to the changing formulas.&lt;/P&gt;
&lt;PRE&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt &amp;lt;&amp;lt; New Column( "sexformula",
	Character,
	"Nominal",
	Formula( If( Selected(), "Selected", :sex ) )
);
dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ), Color( :sexformula ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				3,
				Properties(
					2,
					{Line Color( 1 ), Marker Size( 6 )},
					Item ID( "Selected", 1 )
				)
			)}
		)
	)
);
&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:20:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472295#M71694</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2022-03-23T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472469#M71721</link>
      <description>&lt;P&gt;Maybe I'm missing something with the other posts, but can you not just set the level in the JMP Preferences?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErraticAttach_0-1648070151476.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41080iADBBED891B0062D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErraticAttach_0-1648070151476.png" alt="ErraticAttach_0-1648070151476.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:41:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472469#M71721</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-03-23T21:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472626#M71732</link>
      <description>&lt;P&gt;Very smooth approach!&lt;BR /&gt;A dynamic column formula - cool.&lt;BR /&gt;That gives a lot of flexibility - and so easy :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 13:45:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472626#M71732</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-03-24T13:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472628#M71733</link>
      <description>&lt;P&gt;You are right.&lt;BR /&gt;Actually, the direct answer to my question :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 13:45:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472628#M71733</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-03-24T13:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: degree of "faded" for "unselected faded"</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472777#M71740</link>
      <description>&lt;P&gt;This could be a possible implementation of the idea:&lt;BR /&gt;when data points get selected, the selcted ones get bigger and nicely visible, un-selected data points get smaller and faded.&lt;BR /&gt;&lt;BR /&gt;By the way, there seems to be still some error in my code:&lt;BR /&gt;after selecting and deselecting data points, the additional column bounces back to "M"/"F" (like expected), but the formatting changed a bit.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;setting on my computer (v 16.2.0, win) at the end:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;			{Legend Model(
				3,
				Properties(0,{Line Color( 3 ), Marker Size( 6 ), Transparency( 0.3 )},Item ID( "F", 1 )),
				Properties(1,{Line Color( 21 ), Marker( "FilledCircle" ), Marker Size( 6 )},Item ID( "M", 1 )),
				....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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( "sexformula",
	Character,
	"Nominal",
	Formula( If( N items(dt &amp;lt;&amp;lt; get selected rows)==0 ,:sex ,If(Selected(),Concat(:sex," (selected)"), Concat(:sex," -" ))) ));
new window("test",
H list Box (
dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Shol Legend(0),
	Variables( X( :name ), Y( :weight ) ),
	Elements( Bar( X, Y, Legend( 5 ) ) )
);
dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ), Color( :sexformula ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				3,
				Properties( 0, {Line Color( 3  ),Marker Size( 6 ),Transparency(1),Marker("Dot")}, Item ID( "F", 1 )),
				Properties( 1, {Line Color( 21 ),Marker Size( 6 ),Transparency(1),Marker("Dot")}, Item ID( "M", 1 )),
				Properties( -1, {Line Color( 3  ),Marker Size( 3 ),Transparency(0.3),Marker("Dot")}, Item ID( "F -", 1 )),
				Properties( -1, {Line Color( 21 ),Marker Size( 3 ),Transparency(0.3),Marker("Dot")}, Item ID( "M -", 1 )),
				Properties( -1, {Line Color( 3  ),Marker Size( 10 ),Transparency(1),Marker( "FilledCircle" )},Item ID( "F (selected)", 1)),
				Properties( -1, {Line Color( 21 ),Marker Size( 10 ),Transparency(1),Marker( "FilledCircle" )},Item ID( "M (selected)", 1))
			)}
		)
	)
)))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 16:46:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-the-degree-of-quot-faded-quot-for-quot-unselected/m-p/472777#M71740</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-03-24T16:46:21Z</dc:date>
    </item>
  </channel>
</rss>

