Vb axisboxaddrefline無法正常工作你好jmp社區
我使用VB進行單向分析,但是axisaddrefline無法繪製參考線
此函數一直返回“False”
設置tss = jmp_doc.CreateOneway
tss.LaunchAddX“class”
tss.LaunchAddY“重量”
a = tss.Launch
tss.AxisBoxAddRefLine 1,70,1,3
非常感謝你的幫助
謝謝Re:Vb axisboxaddrefline無法正常工作必須首先獲得軸的JMP顯示框。 然後它可以用於指定ref行。 以下是Oneway分析中水平線的示例,以及結果圖片。
Brian Corcoran
JMP開發
Dim hand1 As Integer
'dt是已經打開的Big Class.jmp的數據表對象。 Doc是來自dt的文檔指針
dt.Activate()
OnewayObj = Doc.CreateOneway
OnewayObj.LaunchAddY(“高”)
OnewayObj.LaunchAddX(“性”)
OnewayObj.Launch()
hand1 = OnewayObj.GetGraphicItemByType(“AxisBox”,1)
OnewayObj.AxisBoxAddRefLine(hand1,60.0,JMP.axisLineRefConstants.axisLineRefSolid,JMP.jmpColorConstants.jmpColorGreen)
Re:Vb axisboxaddrefline無法正常工作我感謝您的幫助!
它現在可以很好地工作,
但我還有最後一個問題,
我想在Oneway中添加一個圖例,但我找不到Oneway課程中的功能
你可以幫幫我嗎?
Re:Vb axisboxaddrefline無法正常工作對不起,看起來Legend的顯示選項在自動化中不可用。 我已經為JMP 15添加了它。 即使這樣,它也只會打開或關閉,不允許你更改圖例。
Brian Corcoran
JMP開發
Re:Vb axisboxaddrefline無法正常工作好的我明白了,
非常感謝!