<?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: How do I make start/stop bar charts? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848753#M102425</link>
    <description>&lt;P&gt;Jim, yes, I saw this, and it's a great workaround.&amp;nbsp; In my case, some of the bars will be very long and we expect to often be zoomed in on the timeline, which means I'd have to be plotting a whole bunch of points at intervals down the bar.&amp;nbsp; I'm also trying to make this plotter for others to use who aren't as familiar with JMP, and so forcing them to select a bar endpoint would require training and add process-friction.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 13:13:04 GMT</pubDate>
    <dc:creator>BHarris</dc:creator>
    <dc:date>2025-03-20T13:13:04Z</dc:date>
    <item>
      <title>How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847753#M102268</link>
      <description>&lt;P&gt;Suppose I have this data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Step&lt;/TD&gt;&lt;TD&gt;Start&lt;/TD&gt;&lt;TD&gt;Stop&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mixer&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;heater1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;12.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;injector1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mixer&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;heater2&lt;/TD&gt;&lt;TD&gt;10.3&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;injector1&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;12.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;heater1&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;25.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mixer&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;heater2&lt;/TD&gt;&lt;TD&gt;23.4&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mixer&lt;/TD&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;fan&lt;/TD&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mixer&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... and I want to make this plot (just the bars):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BHarris_0-1741904391068.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73846i48117E50BF897AE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BHarris_0-1741904391068.png" alt="BHarris_0-1741904391068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible with GraphBuilder?&amp;nbsp; (note this image is a mockup with PowerPoint)&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 22:23:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847753#M102268</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2025-03-13T22:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847827#M102272</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12313"&gt;@BHarris&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not able to reproduce directly what you present in powerpoint, but I may have something similar enough to what you intend to have :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1741945282248.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73859iE317374269F142AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1741945282248.png" alt="Victor_G_0-1741945282248.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unlike your image, the different ranges are not completely aligned, as I need to have a unique identifier for each values range.&amp;nbsp;&lt;BR /&gt;I think the bars could be enlarged for better readability.&lt;/P&gt;
&lt;P&gt;You can have a look at the script in the attached datatable.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;EDIT: Using a ID column with less levels, the bar graph looks better :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1741962832197.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73866iAA4D6C4D5903C5CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1741962832197.png" alt="Victor_G_0-1741962832197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Both graph scritps are saved in the attached datatable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 14:34:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847827#M102272</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2025-03-14T14:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847955#M102293</link>
      <description>&lt;P&gt;Nice approach : )&lt;BR /&gt;&lt;BR /&gt;As an alternative to &lt;FONT face="courier new,courier"&gt;Overlay&lt;/FONT&gt;, one could also use the ID nested on the Y axis:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1741979753812.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73886iCBAA5A8EE1848200/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1741979753812.png" alt="hogi_0-1741979753812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 19:16:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847955#M102293</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-14T19:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847961#M102296</link>
      <description>&lt;P&gt;Both of these options create a lot of whitespace because each on/off gets its own horizontal row, and there can be a lot of on/offs in my use-case.&amp;nbsp; The bar-plots have a red-triangle "overlap" setting that seems like it should work, but even at "Full" it doesn't seem to do anything, so I was hoping there might be a hidden option or a JSL approach that would keep the bars aligned vertically.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:23:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847961#M102296</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2025-03-14T20:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847963#M102297</link>
      <description>&lt;P&gt;Here is my approach to creating the graph&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1741984705257.png" style="width: 568px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73889iED0877DEE84DBB3D/image-dimensions/568x523?v=v2" width="568" height="523" role="button" title="txnelson_0-1741984705257.png" alt="txnelson_0-1741984705257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
gb = Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :Start ), X( :Stop, Position( 1 ) ), Y( :Step ), Color( :Step ) ),
	Elements( Points( X( 1 ), X( 2 ), Y, Legend( 12 ) ) ),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model(
				12,
				Properties( 5, {Marker( "FilledCircle" )}, Item ID( "Start", 1 ) ),
				Properties( 6, {Marker( "FilledCircle" )}, Item ID( "Stop", 1 ) )
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "Start - Stop Chart" )} )
	)
);

// Remove Start and Stop from legend
lgnd = gb &amp;lt;&amp;lt; Get Legend Display;
items = lgnd &amp;lt;&amp;lt; Get Items;
For Each( {item}, items,
	If( item &amp;lt;&amp;lt; Get Label == "Start" | item &amp;lt;&amp;lt; Get Label == "Stop",
		item &amp;lt;&amp;lt; Set Visible( 0 )
	)
);

// Set default Value Colors if not set
if( isEmpty(dt:step &amp;lt;&amp;lt; get property( "value colors" )),
dt:step &amp;lt;&amp;lt; set property( "value colors", "" );
);

// Get the colors to use
colors = dt:step &amp;lt;&amp;lt; get property( "value colors" );

// Find the labels for the Y Axis
Summarize( dt, levels = by( :step ) );

// Add a Graphics Script to create the bars on the graph
fb = Report( gb )[framebox( 1 )];
fb &amp;lt;&amp;lt; add graphics script(	
	// Get the colors to use
	colors = dt:step &amp;lt;&amp;lt; get property( "value colors" );
	For Each Row(
		cpoint = Contains( levels, :step ) - 1;
		Fill Color( Num( Word( 3, Char( colors[cpoint + 1] ), " " ) ) );
		Rect( :start, cPoint + .4, :stop, cPoint - .4, 1 );
		
	);
);&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>Sat, 15 Mar 2025 14:37:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847963#M102297</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-03-15T14:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847990#M102303</link>
      <description>&lt;P&gt;There are many JSL options for something like this. Set Marker Expr would most likely be the best if you can figure how that is used (it doesn't really have documentation). Here is my quick take using Set Marker Draw Expr, this can be made simpler using just one marker but having two lets user "select" the row from both ends&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("Untitled 2",
	Add Rows(12),
	Compress File When Saved(1),
	New Column("Step",
		Character,
		"Nominal",
		Set Property("Value Colors", {"fan" = -15113984, "heater1" = -5682409, "heater2" = -40563, "injector1" = -29362, "mixer" = -13983232}),
		Set Values({"mixer", "heater1", "injector1", "mixer", "heater2", "injector1", "heater1", "mixer", "heater2", "mixer", "fan", "mixer"})
	),
	New Column("Start",
		Numeric,
		"Continuous",
		Format("Best", 12),
		Set Values([0, 1, 4, 6, 10.300000000000001, 12, 16, 18, 23.399999999999999, 24, 24, 30])
	),
	New Column("Stop",
		Numeric,
		"Continuous",
		Format("Best", 12),
		Set Values([2, 12.300000000000001, 4.5, 8, 13, 12.5, 25.399999999999999, 20, 30, 26, 45, 40])
	)
);
dt &amp;lt;&amp;lt; Color or Mark by Column(:Step, Color(1), Marker(0));

gb = dt &amp;lt;&amp;lt; Graph Builder(Variables(X(:Start), X(:Stop, Position(1)), Y(:Step), Color(:Step)),
	Elements(Points(X(1), X(2), Y, Legend(7))),
	SendToReport(
		Dispatch({}, "400", ScaleBox,
			{Legend Model(
				7,
				Properties(0, {Marker("FilledSquare")}, Item ID("fan", 1)),
				Properties(1, {Marker("FilledSquare")}, Item ID("heater1", 1)),
				Properties(2, {Marker("FilledSquare")}, Item ID("heater2", 1)),
				Properties(3, {Marker("FilledSquare")}, Item ID("injector1", 1)),
				Properties(4, {Marker("FilledSquare")}, Item ID("mixer", 1))
			)}
		),
		Dispatch({}, "400", LegendBox,
			{Legend Position({7, [0, 1, 2, 3, 4, -1, -1]})}
		)
	)
);

frame = Report(gb)[FrameBox(1)];
seg = (frame &amp;lt;&amp;lt; FindSeg(Marker Seg(1)));
seg &amp;lt;&amp;lt; Set Marker Draw Expr(
	Function({this seg, this row, x, y, size, row state},
		Fill Color(Color Of(Row State(this row)));
		Rect(x, y + 0.3, x + (:Stop[this row] - x) / 2 + 0.1, y - 0.3, 1)
	)
);

seg = (frame &amp;lt;&amp;lt; FindSeg(Marker Seg(2)));
seg &amp;lt;&amp;lt; Set Marker Draw Expr(
	Function({this seg, this row, x, y, size, row state},
		Fill Color(Color Of(Row State(this row)));
		Rect(x - (x - :Start[this row]) / 2 - 0.1, y + 0.3, x, y - 0.3, 1)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There are also most likely options where you heavily modify your data to fit just graphing needs.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 07:20:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847990#M102303</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-15T07:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847998#M102306</link>
      <description>&lt;P&gt;wow, this is amazing!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Maybe remove the "/2" and draw 2 overlapping rectangles. Then the bars stays stable even if start or stop is close to the edge or even outside of the graph.&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6370069875112w622h254r148" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6370069875112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6370069875112w622h254r148');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6370069875112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&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;</description>
      <pubDate>Sun, 16 Mar 2025 18:01:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/847998#M102306</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-16T18:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848000#M102307</link>
      <description>&lt;P&gt;There are basically infinite amount of ways of doing this. Pick which best suits for needs (or create your own). Rect from start to end while utilizing average point allows easily using start/stop markers for example while adding extra "marker" to center for user to click.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1742037411705.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73898i091131683D87FF14/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1742037411705.png" alt="jthi_0-1742037411705.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 11:20:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848000#M102307</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-15T11:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848047#M102317</link>
      <description>&lt;P&gt;Instead of&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="jsl"&gt;Color Of(Row State(this row))&lt;/LI-CODE&gt;&lt;P&gt;can&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Set Marker Draw Expr()&lt;/FONT&gt; also use the the color theme defined via the Color dropzone?&lt;BR /&gt;&lt;BR /&gt;Is there a built-in function which does something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;w= current window() &amp;lt;&amp;lt; get namespace;


// get the script - and from there the first color
gbscript = gb &amp;lt;&amp;lt; get script;
vars = Extract Expr( gbscript, Variables( Wild List() ) );
w:colorCol = Try(
	Arg( Extract Expr( vars, Color( Wild() ) ), 1 ),
	Caption( "no color" );
	stop;
);

// use the legend server to gt the gradient settings
legend = gb &amp;lt;&amp;lt; get legend server;

items = {};
For Each( {list}, legend &amp;lt;&amp;lt; get legend items, Insert Into( items, list ) );

gradient = Filter Each( {item}, items, item &amp;lt;&amp;lt; get Type == "Gradient" );
If( Not( N Items( gradient ) ),
	Caption( "no gradient" );
	Stop();
);

gradient = gradient[1];

// parse the gradient settings to create my own color interpolation function
settings = gradient &amp;lt;&amp;lt; Get Gradient Settings;
colorTheme = settings["Color Theme"];
colors = If( Is List( colorTheme ),
	colorTheme[3],
	Get Color Theme Detail( colorTheme )[3]
);
colors = Matrix( Remove( colors, N Items( colors ) ) );
xs = ((1 :: N Items( colors[0, 1] )) - 1) / (N Items( colors[0, 1] ) - 1);

scale = settings["Scale Values"];
reverse = settings["Reverse Gradient"];
min = scale[If( reverse, 2, 1 )];
max = scale[If( reverse, 1, 2 )];
Eval(
	Eval Expr(
		w:col = Function( {x},
			x2 = (x - Expr( min )) / (Expr( max - min ));
			Eval List(
				{Interpolate( x2, xs, Expr( colors[0, 1] ) ), Interpolate( x2, xs, Expr( colors[0, 2] ) ),
				Interpolate( x2, xs, Expr( colors[0, 3] ) )}
			);
		)
	)
);&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&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;&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 19:49:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848047#M102317</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-16T19:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848160#M102333</link>
      <description>&lt;P&gt;It is interesting that "Size" is among the parameters which are transferred to&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-jsl"&gt;&lt;CODE&gt;Set Marker Draw Expr&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and that &lt;STRONG&gt;Color&lt;/STRONG&gt; is not.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 14:08:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848160#M102333</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-17T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848219#M102348</link>
      <description>&lt;P&gt;The JSL rect-drawing approach does create the correct image, and I'm thrilled to learn how it works in JMP.&amp;nbsp; I'll need to play with that more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we lose, however, is the ability to click inside the bars to select the corresponding rows in the data table.&amp;nbsp; My dataset is also quite large (multi-million rows) and is divided into sets that are keyed by a 4th column that goes into the local filter.&amp;nbsp; This way we can look at any set of results quickly in the same window.&amp;nbsp; I know coding the JSL to update the bars whenever the Local Data Filter changes is possible, but it adds another layer of complexity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I'll submit a wish list item to fix/update the "Bar Overlap" setting to allow the "ID" column to collapse the different rows into a single one when used as an overlay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Impressive responses all around!&amp;nbsp; Thank you to all who have responded!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 18:49:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848219#M102348</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2025-03-17T18:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848222#M102349</link>
      <description>&lt;P&gt;For now I would go with the marker draw expression and possibly add extra points within the "rectangle".&amp;nbsp;Handling the color is a bit annoying as I don't think you can access color within set marker expr function, but you can manage for example with row states, adding color column to your table or picking the color from the marker. There could be some issues with local data filters, so I would probably avoid picking them from marker -&amp;gt; use color column or row states.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think marker draw expression should be handle the local data filter fine.&amp;nbsp;I haven't tested how well this works when you have large amount of data but there are most likely optimizations which could be done if that becomes an issue. You can also increase the height of bars to 0.4 (or values very close to 0.5) and they shouldn't overlap. In this case I replace middle marker with the rectangle and directly pick the color from row state&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 = New Table("Demo",
	Add Rows(12),
	Compress File When Saved(1),
	New Column("Step", Character, "Nominal", Set Values({"mixer", "heater1", "injector1", "mixer", "heater2", "injector1", "heater1", "mixer", "heater2", "mixer", "fan", "mixer"})),
	New Column("Start", Numeric, "Continuous", Format("Best", 12), Set Values([0, 1, 4, 6, 10.3, 12, 16, 18, 23.4, 24, 24, 30])),
	New Column("Stop", Numeric, "Continuous", Format("Best", 12), Set Values([2, 12.3, 4.5, 8, 13, 12.5, 25.4, 20, 30, 26, 45, 40])),
	New Column("G", Character, "Nominal", Set Values({"G1", "G1", "G1", "G1", "G1", "G1", "G2", "G2", "G2", "G2", "G2", "G2"}))
);
dt &amp;lt;&amp;lt; New Column("Middle", Numeric, Continuous, Formula(
	Mean(:Start, :Stop);
));

Column(dt, "Step") &amp;lt;&amp;lt; Set Property("Value Colors", {"fan" = -15113984, "heater1" = -5682409, "heater2" = -40563, "injector1" = -29362, "mixer" = -13983232});
dt &amp;lt;&amp;lt; Color or Mark by Column(:Step, Color(1), Marker(0));

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(528, 454),
	Show Control Panel(0),
	Variables(X(:Start), X(:Stop, Position(1)), X(:Middle, Position(1)), Y(:Step), Color(:Step)),
	Elements(Points(X(1), X(2), X(3), Y, Legend(10))),
	Local Data Filter(Add Filter(columns(:G))),
	SendToReport(
		Dispatch({}, "400", ScaleBox,
			{Legend Model(
				10,
				Properties(5, {Marker("Right Arrowhead")}, Item ID("Start", 1)),
				Properties(6, {Marker("Left Arrowhead")}, Item ID("Stop", 1))
			)}
		),
		Dispatch({}, "400", LegendBox, {Legend Position({10, [0, 1, 2, 3, 4, 5, 6, -1]})})
	)
);
 
frame = Report(gb)[FrameBox(1)];
seg = (frame &amp;lt;&amp;lt; FindSeg(Marker Seg(3)));
seg &amp;lt;&amp;lt; Set Marker Draw Expr(
	Function({this seg, this row, x, y, size, row state},
		Fill Color(Color Of(row state));
		Rect(:Start[this row], y + 0.4, :Stop[this row], y - 0.4, 1)
	)
);
&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1742239056984.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73955i9E07A8D5F38BD18C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1742239056984.png" alt="jthi_0-1742239056984.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1742239064899.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73956i6F0450B35E6E22CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1742239064899.png" alt="jthi_1-1742239064899.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also it is also fairly easy easy to crash JMP when you start playing around with these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 19:18:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848222#M102349</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-17T19:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848223#M102350</link>
      <description>&lt;P&gt;Will get much easier in September :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 19:21:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848223#M102350</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-17T19:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848229#M102351</link>
      <description>&lt;P&gt;In the example that I gave, using Rect() in a &amp;lt;&amp;lt; Add Graphics Script, you can click on the Start or Stop data Point and it will select the rows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1742246348795.png" style="width: 699px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73961i161B1B22A2985392/image-dimensions/699x401?v=v2" width="699" height="401" role="button" title="txnelson_0-1742246348795.png" alt="txnelson_0-1742246348795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 21:19:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848229#M102351</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-03-17T21:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848752#M102424</link>
      <description>&lt;P&gt;If you can, sign up for the JMP 19 Early Adopter program and give feedback on the planned Line element enhancements that will provide another way to do this.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 13:00:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848752#M102424</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2025-03-20T13:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848753#M102425</link>
      <description>&lt;P&gt;Jim, yes, I saw this, and it's a great workaround.&amp;nbsp; In my case, some of the bars will be very long and we expect to often be zoomed in on the timeline, which means I'd have to be plotting a whole bunch of points at intervals down the bar.&amp;nbsp; I'm also trying to make this plotter for others to use who aren't as familiar with JMP, and so forcing them to select a bar endpoint would require training and add process-friction.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 13:13:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/848753#M102425</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2025-03-20T13:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make start/stop bar charts?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/913541#M107348</link>
      <description>&lt;P&gt;JMP19 is available now, which makes it super easy to create plots like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1763212249685.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87110i0C8E8455A196D94A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1763212249685.png" alt="hogi_0-1763212249685.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "log",
	Add Rows( 12 ),
	New Column( "Step",
		Character,
		Set Values(
			{"mixer", "heater1", "injector1", "mixer", "heater2", "injector1",
			"heater1", "mixer", "heater2", "mixer", "fan", "mixer"}
		)
	),
	New Column( "Start",
		Set Values(
			[0, 1, 4, 6, 10.3, 12, 16, 18, 23.4, 24, 24,30]
		)
	),
	New Column( "Stop",
		Set Values(
			[2, 12.3, 4.5, 8, 13, 12.5, 25.4, 20, 30, 26,45, 40]
		)
	)
);
Graph Builder(
	Size( 493, 262 ),
	Graph Spacing( 4 ),
	Variables( X( :Start ), X( :Stop, Position( 1 ) ), Y( :Step ), Color( :Step ) ),
	Elements( Line( X( 1 ), X( 2 ), Y,  Ordering( "Within Row" ) ) ),
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Nov 2025 13:11:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-start-stop-bar-charts/m-p/913541#M107348</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-11-15T13:11:08Z</dc:date>
    </item>
  </channel>
</rss>

