You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

グラフアイテムのデフォルトのヒントを上書きできるようにします。
折れ線グラフ値のアイテム (PRIM_CHRT.LineChartValueItem) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Title

*Input (任意)

Unicode 文字列

ヒントのタイトル

Line1

*Input (任意)

Unicode 文字列

ヒントの 1 行目

Line2

*Input (任意)

Unicode 文字列

ヒントの 2 行目

Line3

*Input (任意)

Unicode 文字列

ヒントの 3 行目

詳細


グラフアイテムのデフォルトのヒントを上書きできるようにします。各アイテムのコンテキスト詳細を追加する場合に便利です。


以下の例は 2 年間の四半期別収益を示す折れ線グラフを表示します。
フォーマットのヒントを使って、キャプションや値をフォーマットすることができます。


Define_com Class(#prim_str) name(#Title)
Define_com Class(#prim_str) Name(#Line1)

  • Quarter 1
    #LineChartValue1 := 40000
    #LineChartValue2 := 60000
    #LineChartCaption := 'Quarter 1'
    Add_Entry To_List(#LineChart)
    #Title := #LineChartCaption.currentItem.Caption + ' 2020'
    #Line1 := '$' + #LineChartValue1.asString + ' Profit'
    #LineChartValue1.CurrentItem.FormatHint Title(#Title) Line1(#Line1)
    #Title := #LineChartCaption.currentItem.Caption + ' 2019'
    #Line1 := '$' + #LineChartValue2.CurrentItem.Value.asString + ' Profit'
    #LineChartValue2.CurrentItem.FormatHint Title(#Title) Line1(#Line1)

    参照

    すべてのコンポーネント クラス
    テクニカルリファレンス
  • No labels