5.20241.9
wijmo.chart.annotation Class AnnotationLayer Wijmo API クラス

AnnotationLayer クラス

FlexChart およびFinancialChart の注釈レイヤを表します。

AnnotationLayerには、テキスト、線、画像、四角形など、さまざまな注釈要素の コレクションが含まれます。 AnnotationLayer を使用するには、注釈を作成し、それをレイヤのitemsプロパティに追加します。

階層

コンストラクタ

プロパティ

メソッド

コンストラクタ

constructor

プロパティ

items

AnnotationLayer 内の注釈要素のコレクションを取得します。

メソッド

getItem

getItems

  • AnnotationLayer 内の注釈要素を名前に基づいて取得します。

    引数

    • name: string

      注釈の名前。

    戻り値 Array<AnnotationBase>