你好,
我需要一些幫助來可視化圖形生成器中的水平持續時間線。
因此,我有三列數據:
A 欄:產品類型
B 列:累計持續時間
C 列:每種產品類型的持續時間
我想在 x 軸上說明累積的持續時間
在 y 軸上,應說明不同的產品類型。
該圖應顯示生產特定產品類型的起點和終點。
因此,產品B的生產在產品A完成時開始,產品C在產品B完成時開始生產,依此類推。
為了更好地理解,我附上了簡化的 JMP 數據表。 是否可以用可用數據來說明水平持續時間線?
非常感謝您的支持。 @馬丁德梅爾
此致
康斯坦丁諾斯
這是製作圖表的另一種方法

Names Default To Here( 1 );
dt = Current Data Table();
dt << New Column( "Min",
Numeric,
"Continuous",
Format( "hr:m:s", 13, 0 ),
Input Format( "hr:m:s", 0 ),
Formula( :Duration cummulated - :Duration per production type )
);
dt << New Column( "Max",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( :Duration cummulated ),
Set Selected
);
dtStack = dt << Stack(
columns( :Min, :Max ),
Source Label Column( "Label" ),
Stacked Data Column( "Data" )
);
dtStack:Data << format(":day:hr:m");
Graph Builder(
Size( 543, 456 ),
Show Control Panel( 0 ),
Variables( X( :Data ), Group Y( :Production Type ) ),
Elements( Line( X, Legend( 12 ), Error Interval( "Range" ) ) ),
SendToReport(
Dispatch(
{},
"",
ScaleBox,
{Label Row(
{Automatic Tick Marks( 0 ), Show Major Labels( 0 ),
Show Major Ticks( 0 ), Show Minor Ticks( 0 )}
)}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
12,
Properties( 0, {Line Width( 9 )}, Item ID( "Count", 1 ) )
)}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Gantt Chart" )} )
)
);
不知道這樣的結果是不是你想要的:

如果是這樣,則創建一個包含持續時間開始時間的新列。 最後使用累計結果。 將起點拖動到 X 放置區域。 將累積值拖動到同一放置區域,但將其放置在軸上方,以便它與起點相連。 將元素更改為條形圖。 將樣式更改為間隔。