이래JSL샘플이있다。샘플데이터로그래프를그릴때Y축표현을바꾸고싶다。Y축의GROUP_Y의축정렬을아래에서위로1 - > 10으로변경하는방법에대해도움을받고자한다。모든분께감사드린다。
-------
게시후아래와같이해결했다。
Group Y( :GROUP_Y, Levels( 100 ), Order By( :GROUP_Y, descending) )
게시글을삭제하려고한다。
-------
DS = New Table( "Sample_Data",
Add Rows( 300 ),
New Column( "X",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( 1000 ) ),
Set Property( "Axis", {} )
),
New Column( "Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( 1000 ) )
),
New Column( "GROUP_X",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Ceiling( :X / 100 ) ),
Set Selected
),
New Column( "GROUP_Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Ceiling( :Y / 100 ) )
),
New Column( "LEVEL",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( 3 ) ),
)
);
DS << Graph Builder(
Size( 716, 645 ),
Show Control Panel( 0 ),
X Group Edge( "Bottom" ),
Y Group Edge( "Left" ),
Variables(
X( :X ),
Y( :Y ),
Group X( :GROUP_X, Levels( 100 ) ),
Group Y( :GROUP_Y, Levels( 100 ) ),
Color( :Level )
),
Elements( Points( X, Y, Legend( 12 ) ) )
);