I build a script as below:
STHI TRB SEC = Graph Builder(
Size( 1733, 995 ),
Show Control Panel( 0 ),
Variables( X( :device_start_1 ), Y( :cell_id ), Group X( :mapsec ), Overlay( :Track ), Color( :Track ) ),
Elements( Points( X, Y, Legend( 4 ), Jitter( "Random Uniform" ), Jitter Limit( 0 ) ) ),
SendToReport(
Dispatch(
{},
"device_start_1",
ScaleBox,
{Min( (Today()) - 43200 ), Max( (Today()) ), Interval( "Hour" ), Inc( 1 ), Minor Ticks( 0 ),
Label Row( {Label Orientation( "Angled" ), Major Grid Line Color( 1 ), Show Major Grid( 1 )} )}
),
Dispatch(
{},
"cell_id",
ScaleBox,
{Label Row( {Show Major Grid( 1 ), Tick Mark Style( "Interval Tray" )} )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
4,
Properties(
0,
{Line Color( 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 << save picture( "STHITRBSEC.png", png );
After that, I run this script auto but the result of the graph is not as expected. The MARKER SIZE is not work for all the graph as picture below:
This graph got a small line when I set marker size at 39
This graph is set marker size at 39 too but the line is bigger.
Please help me remove this bug.