以来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 ) ) )
);