<?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: Slider Boxes similar to the Range Sliders on the Constraint Profiler Platform in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Slider-Boxes-similar-to-the-Range-Sliders-on-the-Constraint/m-p/370240#M61998</link>
    <description>&lt;P&gt;You can build that with a table of slider boxes.&amp;nbsp; This might get you started:&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/iris.jmp");
cols = dt &amp;lt;&amp;lt; get column names(numeric);
sliderval = list();

New Window("Slider Test",
	tb = table box(
		cName = string col box("Name",{}),
		cSlider = col box("Slider",{})
	)
);

for(c=1, c&amp;lt;= n items(cols), c++,
	vals = Column(cols[c]) &amp;lt;&amp;lt; get values;
	cName &amp;lt;&amp;lt; add element(char(cols[c]));
	cSlider &amp;lt;&amp;lt; add element(slider box(
		min(vals),
		max(vals)
	) );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 Mar 2021 12:29:58 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2021-03-22T12:29:58Z</dc:date>
    <item>
      <title>Slider Boxes similar to the Range Sliders on the Constraint Profiler Platform</title>
      <link>https://community.jmp.com/t5/Discussions/Slider-Boxes-similar-to-the-Range-Sliders-on-the-Constraint/m-p/370079#M61987</link>
      <description>&lt;P&gt;I would like to create sliders such as the ones created in Contour Profiler platform:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="burakbagdatli_1-1616292931075.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31420i8E23D98D55F42AB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="burakbagdatli_1-1616292931075.png" alt="burakbagdatli_1-1616292931075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the Slider Bar used here is not documented because each row would need their own minimums and maximums and set value so I have no idea to achieve something like that with the documented Slider Box. I found a "Get N" function that returns the number of sliders in a slider box, but I cannot find any documentation for having multiple sliders in a slider box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create journals from it but I could never get it to run as a piece of JSL code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like the fact that it has ranges and a set value in the middle. It also can create a mark in the middle for a reference value for example. I cannot build something like this from the usual Slider Box or Range Slider Box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone managed to create such sliders using JSL?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:12:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Slider-Boxes-similar-to-the-Range-Sliders-on-the-Constraint/m-p/370079#M61987</guid>
      <dc:creator>burakbagdatli</dc:creator>
      <dc:date>2023-06-11T11:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Slider Boxes similar to the Range Sliders on the Constraint Profiler Platform</title>
      <link>https://community.jmp.com/t5/Discussions/Slider-Boxes-similar-to-the-Range-Sliders-on-the-Constraint/m-p/370240#M61998</link>
      <description>&lt;P&gt;You can build that with a table of slider boxes.&amp;nbsp; This might get you started:&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/iris.jmp");
cols = dt &amp;lt;&amp;lt; get column names(numeric);
sliderval = list();

New Window("Slider Test",
	tb = table box(
		cName = string col box("Name",{}),
		cSlider = col box("Slider",{})
	)
);

for(c=1, c&amp;lt;= n items(cols), c++,
	vals = Column(cols[c]) &amp;lt;&amp;lt; get values;
	cName &amp;lt;&amp;lt; add element(char(cols[c]));
	cSlider &amp;lt;&amp;lt; add element(slider box(
		min(vals),
		max(vals)
	) );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:29:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Slider-Boxes-similar-to-the-Range-Sliders-on-the-Constraint/m-p/370240#M61998</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-03-22T12:29:58Z</dc:date>
    </item>
  </channel>
</rss>

