我正在使用 GraphBuilder 並想修改水平旋轉的 Y 軸變量名稱的寬度。 雖然我可以在 GB 中旋轉文本,但更改 Set Wrap... 參數似乎沒有像我預期的那樣工作。 展示,
我打開大類數據表並將身高和體重列名稱更改為以下內容:
“已經變長的高度列名稱”
“變長的權重列名”
以下 GB 腳本是我為說明問題而創建的簡單圖表的結果。 在 GB 中,Set Wrap... 參數設置為 100 並選擇了 Extend this to other text boxes 開關。 此參數更改不會反映在生成的腳本中,選擇任何小於 100 的值都不會影響 Y 軸變量名稱的寬度。
Graph Builder(
Size( 1408, 513 ),
Show Control Panel( 0 ),
Graph Spacing( 3 ),
Variables(
X( :age ),
Y( :height column name that has been made longer ),
Y( :weight column name that has been made longer )
),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 4 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch( {}, "Y title", TextEditBox, {Rotate Text( "Horizontal" ) } ),
Dispatch( {}, "Y 1 title", TextEditBox, {Rotate Text( "Horizontal" ) } )
)
);
所以,我想知道這是一個錯誤還是預期的行為?
另外,我很好奇是否有辦法在 JSL GB 代碼中強制換行。我嘗試了以下方法,但無法影響 Y 軸換行行為的任何變化
Graph Builder(
Size( 1408, 513 ),
Show Control Panel( 0 ),
Graph Spacing( 3 ),
Variables(
X( :age ),
Y( :height column name that has been made longer ),
Y( :weight column name that has been made longer )
),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 4 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch( {}, "Y title", TextEditBox, {Rotate Text( "Horizontal" ), Set Wrap (50) } ),
Dispatch( {}, "Y 1 title", TextEditBox, {Rotate Text( "Horizontal" ), Set Wrap (50) } )
)
);嗨特拉平。 Graph Builder 中的 Set Wrap 功能沒有按您預期的那樣工作,這是一個錯誤。 我們的開發人員已意識到該問題,並打算在未來的版本中解決它。 我們對不便表示抱歉。