Graph Builder(
Size( 2104, 617 ),
Fit to Window( "Off" ),
Variables(
X( :PSM ITEM ),
Y( :AvgPsm_PTOV ),
Y( :MaxPsm_PTOV, Position( 1 ) ),
Y( :MinPsm_PTOV, Position( 1 ) ),
Group X( :PCIE_TOGGLE ),
Overlay( :BIOS ),
Color( :BIOS )
),
Elements(
Bar(
X,
Y( 2 ),
Y( 3 ),
Y( 1 ),
Legend( 52 ),
Bar Style( "Interval" ),
Label( "Label by Value" )
)
),
Local Data Filter(
Close Outline( 1 ),
Width( 226 ),
Add Filter(
columns( :PSM ITEM ),
Where(
:PSM ITEM == {"IOD0_PCIE0_BOT_LFT_VDDSOC",
"IOD0_PCIE1_BOT_LFT_VDDSOC", "IOD0_PCIE2_BOT_LFT_VDDSOC",
"IOD0_PCIE3_BOT_LFT_VDDSOC"}
),
Display( :PSM ITEM, "Check Box Display", Find( Set Text( "vddsoc" ) ) )
)
),
SendToReport(
Dispatch( {"Bar"}, "", OutlineBox, {Close( 0 )} ),
Dispatch(
{},
"Graph Builder",
FrameBox,
{Set Graphlet(
Picture(
Try(
loader = If( Class Exists( "hllLoader" ),
New Object( "hllLoader" ),
Include( "$BUILTIN_SCRIPTS/hllib.jsl" )
);
loader:setDebug( 0 );
hlp = loader:lazyLoad( "hllPresets" );
hlp:launchLabel Viewer();
,
Write(
"
Hover Label: Unable to launch Preset, please check that the Preset library is available at $BUILTIN_SCRIPTS/hllib.jsl"
);
Write( Eval Insert( "
Exception: ^exception_msg^" ) );
Empty();
)
),
Title( "Label Viewer Preset" ),
Reapply( 1 )
)}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 2 ),
{Set Graphlet(
Picture(
Try(
loader = If( Class Exists( "hllLoader" ),
New Object( "hllLoader" ),
Include( "$BUILTIN_SCRIPTS/hllib.jsl" )
);
loader:setDebug( 0 );
hlp = loader:lazyLoad( "hllPresets" );
hlp:launchMarker();
,
Write(
"
Hover Label: Unable to launch Preset, please check that the Preset library is available at $BUILTIN_SCRIPTS/hllib.jsl"
);
Write( Eval Insert( "
Exception: ^exception_msg^" ) );
Empty();
)
),
Title( "Marker Preset" ),
Reapply( 1 )
)}
)
)
);
我在为间隔条形图添加最大值和最小值时遇到了问题。它仅显示实际的最大 - 最小间隔。
我的主要目标是制作一个波特图或蜡烛图,显示X轴数据的最大值、平均值和最小值。最大值、平均值和最小值被分成不同的列。我尝试过波特图,但它无法按照我想要的方式呈现数据。

当你有这样的情节之后

在条形图顶部添加点图(右键单击 > 添加 > 点或按住 shift 并单击点图)

下一个变化点使用一些聚合(例如平均值)

然后从点变量禁用平均列并通过值设置标签

然后,您可以修改标记大小,例如使点变得更小。您也可以选择使用浮动条形图来代替点图,但这需要更多精力,因为您必须为想要标记的每一列创建单独的浮动条形图。
您使用的是旧版 JMP,如果要使用点,需要一些额外的循环。我建议在 JMP18 之前的版本中使用浮动栏。