<?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 JSL - How to Assign Marker Color based on Conditional Value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-How-to-Assign-Marker-Color-based-on-Conditional-Value/m-p/545516#M76390</link>
    <description>&lt;P&gt;I am trying to figure out how to script marker colors to specific rows based on a conditional value within one of the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, how would I make the marker color red for all rows with a "Hold Time" (column name) value of &amp;lt; 6 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I know how to do this from within a graph/graph builder, but I am trying to figure out to put it in a script to pre-emptively search for all values &amp;lt; 6 hours in the data table and color the rows accordingly such that if my imported data table gets updated with additional data, the script is able to perform the color coding automatically.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:54:21 GMT</pubDate>
    <dc:creator>KaylaSue</dc:creator>
    <dc:date>2023-06-10T23:54:21Z</dc:date>
    <item>
      <title>JSL - How to Assign Marker Color based on Conditional Value</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-Assign-Marker-Color-based-on-Conditional-Value/m-p/545516#M76390</link>
      <description>&lt;P&gt;I am trying to figure out how to script marker colors to specific rows based on a conditional value within one of the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, how would I make the marker color red for all rows with a "Hold Time" (column name) value of &amp;lt; 6 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I know how to do this from within a graph/graph builder, but I am trying to figure out to put it in a script to pre-emptively search for all values &amp;lt; 6 hours in the data table and color the rows accordingly such that if my imported data table gets updated with additional data, the script is able to perform the color coding automatically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:54:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-Assign-Marker-Color-based-on-Conditional-Value/m-p/545516#M76390</guid>
      <dc:creator>KaylaSue</dc:creator>
      <dc:date>2023-06-10T23:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSL - How to Assign Marker Color based on Conditional Value</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-Assign-Marker-Color-based-on-Conditional-Value/m-p/545563#M76391</link>
      <description>&lt;P&gt;Here is one way of doing it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
theRows = dt &amp;lt;&amp;lt; get rows where( :Hold Time &amp;lt; 6 );
For Each( {targetRow}, theRows,
	Row State( targetRow ) = Color State( green )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 16:33:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-Assign-Marker-Color-based-on-Conditional-Value/m-p/545563#M76391</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-09-16T16:33:42Z</dc:date>
    </item>
  </channel>
</rss>

