Here are the JSL samples. I want to change the Y-axis expression when drawing a graph with sample data. I would like help with changing the axis alignment of GROUP_Y on the Y axis from bottom to top 1 -> 10. I thank all of you.
-------
After posting, I resolved as follows.
Group Y( :GROUP_Y, Levels( 100 ), Order By( :GROUP_Y, descending) )
I'm trying to delete a post.
-------
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 ) ) )
);