GObj=グラフビルダー(
サイズ( 1221, 652 ),
コントロールパネルを表示( 0 ),
変数( X( :Date ), Y( :Close_s ) ),
Elements( Box Plot( X, Y, Legend( 5 ) ) ),
ローカル データ フィルター(
フィルタを追加(
列( :日付、:名前)、
Where( :日付 >= 2022 年 6 月 1 日)、
Where( :Name == "アングロアメリカン" )
)
)、
SendToReport(
急送(
{}、
"グラフビルダー",
アウトラインボックス、
{Set Title( "Variability Plot Low Close and High values for the day" ),
画像エクスポート表示(通常)}
)、
急送(
{}、
"Close_s",
スケールボックス
// {Min( 100000 ), Max( 200000 ), Inc( 50000 ), Minor Ticks( 4 )
// Add Ref Line( 130000, "Solid", "Dark Red", "bought", 1 )}
)、
急送(
{}、
"グラフタイトル",
テキストエディットボックス、
{Set Text( "日付に対する安値、終値、高値" )}
)
)
);
DateValue=date mdy(07,12,2022);
Report( GObj )[AxisBox( 1 )] << {Add Ref Line(DateValue, "Solid", "Blue", "Date Bought", 1 )};
Report( GObj )[AxisBox( 2 )] << {Add Ref Line(130000, "Solid", "Green", "Value Bought", 1 )};