Concerning the feature/bug with axis rescale:
After running the below code, you will get this plot:
![hogi_0-1671179161366.png hogi_0-1671179161366.png](https://community.jmp.com/t5/image/serverpage/image-id/48353i5D5C60D409B5D93F/image-size/medium?v=v2&px=400)
If you want to get rid of the empty area on the right and drag the end of the x axis slightly too far or if you just zoom in to the data),
the graph will flip to this one:
![hogi_1-1671181542206.png hogi_1-1671181542206.png](https://community.jmp.com/t5/image/serverpage/image-id/48354i4845D529DEE9DD04/image-size/medium?v=v2&px=400)
dt = Open( "$DOWNLOADS/Dummy data.jmp" );
stacked = dt << Stack(
columns( :Machine 1, :Machine 2, :Machine 3 ),
Source Label Column( "Label" ),
Stacked Data Column( "Data" )
);
stacked << Graph Builder(
Size( 1175, 386 ),
Show Control Panel( 0 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables( X( :Date Time ), Y( :Data ), Group Y( :Label ), Color( :Data ) ),
Elements( Heatmap( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"Date Time",
ScaleBox,
{Interval( "Hour" ),
Inc( 1 ), Minor Ticks( 3 )}
)
)
);