我構建了一個腳本如下:
STHI TRB SEC = 圖形生成器(
大小( 1733, 995 ),顯示控制面板( 0 ),變量(X( :device_start_1 ),Y( :cell_id ),Group X( :mapsec ),Overlay( :Track ),Color( :Track )),
元素(點(X,Y,圖例(4),抖動(“隨機均勻”),抖動限制(0))),
發送報告(
Dispatch({},"device_start_1",ScaleBox,{Min( (today()) - 43200 ), Max( (today()) ), Interval( "Hour" ), Inc( 1 ),Minor Ticks( 0 ),標籤行({標籤方向(“成角度”),主要網格線顏色(1),顯示主要網格(1)})}),
Dispatch({},"cell_id",ScaleBox,{Label Row( {Show Major Grid( 1 ), Tick Mark Style( "Interval Tray" )} )}),
Dispatch({},"400",ScaleBox,{圖例模型(4,Properties(0,{線條顏色( 41 ), Marker( "FilledSquare" ), Marker Size( 39 )},Item ID( "Idle", 1 )),
Properties(1,{Marker( "FilledSquare" ), Marker Size( 39 )},Item ID( "Testing with Fail result", 1 )),
Properties(2,{Marker( "FilledSquare" ), Marker Size( 39 )},Item ID( "Testing with Pass result", 1 )))}),
Dispatch({}, "graph title", TextEditBox, {Set Text( "SEC Performance" )} ),
Dispatch({}, "X title", TextEditBox, {Set Text( "Time" )} ),
Dispatch({}, "Y title", TextEditBox, {Set Text( "Cell" )} )
)
);
STHI TRB SEC << 保存圖片 ("STHITRBSEC.png", png);
之後,我自動運行這個腳本,但圖表的結果並不像預期的那樣。 這標記大小不適用於所有圖表,如下圖所示:

當我將標記大小設置為 39 時,該圖出現了一條細線

該圖也將標記大小設置為 39,但線條更大。
請幫助我刪除此錯誤。