|
| 1 | +--- |
| 2 | +title: Angular チャート データの注釈 | データ可視化 | インフラジスティックス |
| 3 | +_description: Infragistics' Angular チャート データの注釈 |
| 4 | +_keywords: Angular Charts, Data Annotations, Infragistics, Angular チャート, データの注釈, インフラジスティックス |
| 5 | +mentionedTypes: ["DomainChart", "CategoryChart", "CrosshairLayer", "FinalValueLayer", "CalloutLayer"] |
| 6 | +namespace: Infragistics.Controls.Charts |
| 7 | +_language: ja |
| 8 | +--- |
| 9 | + |
| 10 | +# Angular チャート データの注釈 (ベータ版) |
| 11 | + |
| 12 | +Angular チャートでは、データ注釈レイヤーを使用して、データ チャートにプロットされたデータに、傾斜線、垂直/水平線 (軸スライス)、垂直/水平ストリップ (特定の軸をターゲットとする)、四角形、さらには平行四辺形 (バンド) で注釈を付けることができます。データ バインディングがサポートされているため、チャートをカスタマイズするために必要な数の注釈を作成できます。また、さまざまな注釈レイヤーを組み合わせて、プロット領域内にテキストをオーバーレイし、データ内の重要なイベント、パターン、領域に注釈を付けることもできます。 |
| 13 | + |
| 14 | +たとえば、株式イベントやパターンを用いて株価に注釈を付けることができます。 |
| 15 | + |
| 16 | +<code-view style="height: 600px" alt="Angular 複数のデータ注釈の例" |
| 17 | + data-demos-base-url="{environment:dvDemosBaseUrl}" |
| 18 | + iframe-src="{environment:dvDemosBaseUrl}/charts/data-chart/data-annotation-multiple-with-stocks" |
| 19 | + github-src="charts/data-chart/data-annotation-multiple-with-stocks"> |
| 20 | +</code-view> |
| 21 | + |
| 22 | + |
| 23 | +このサンプルが気に入りましたか? 完全な Angular ツールキットにアクセスして、すばやく独自のアプリの作成を開始します。<a href="{environment:infragisticsBaseUrl}/products/ignite-ui-angular/download">無料でダウンロードできます。</a> |
| 24 | + |
| 25 | +## Angular データ注釈スライス レイヤーの例 |
| 26 | + |
| 27 | +Angular では、DataAnnotationSliceLayer は、[`IgxDataChartComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_charts.igxdatachartcomponent.html) コンポーネントの軸の複数の値でチャートをスライスする複数の垂直線または水平線を描画します。このデータ注釈レイヤーは、X 軸上の重要なイベント (例: 企業の四半期決算) または Y 軸上の重要な値に注釈を付けるためによく使用されます。TargetAxis プロパティを y 軸に設定すると、データ注釈レイヤーは水平スライスとして描画され、TargetAxis プロパティを x 軸に設定すると、データ注釈レイヤーは垂直スライスとして描画されます。すべてのシリーズと同様に、DataAnnotationSliceLayer も `DataSource` プロパティを介したデータ バインディングをサポートします。このプロパティは、`AnnotationValueMemberPath` プロパティにマッピングされた少なくとも 1 つの数値データ列を持つデータ項目のコレクションに設定できます。 |
| 28 | + |
| 29 | +たとえば、DataAnnotationSliceLayer を使用して、株式分割や収益報告の結果などの重要なイベントを株価に注釈として付けることができます。 |
| 30 | + |
| 31 | +<code-view style="height: 500px" alt="Angular データ注釈スライス レイヤーの例" |
| 32 | + data-demos-base-url="{environment:dvDemosBaseUrl}" |
| 33 | + iframe-src="{environment:dvDemosBaseUrl}/charts/data-chart/data-annotation-slice-layer" |
| 34 | + github-src="charts/data-chart/data-annotation-slice-layer"> |
| 35 | +</code-view> |
| 36 | + |
| 37 | + |
| 38 | +<div class="divider--half"></div> |
| 39 | + |
| 40 | +## Angular データ注釈ストリップ レイヤーの例 |
| 41 | + |
| 42 | +Angular では、`DataAnnotationStripLayer` は、[`IgxDataChartComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_charts.igxdatachartcomponent.html) コンポーネントの軸上の 2 つの値の間に複数の垂直または水平のストリップを描画します。このデータ注釈レイヤーを使用して、X 軸にイベントの期間 (株式市場の暴落など) または Y 軸に重要な範囲の値に注釈を付けることができます。TargetAxis プロパティを y 軸に設定すると、データ注釈レイヤーは水平ストリップとして描画され、TargetAxis プロパティを x 軸に設定すると、データ注釈レイヤーは垂直ストリップとして描画されます。すべてのシリーズと同様に、`DataAnnotationStripLayer` も `DataSource` プロパティを介したデータ バインディングをサポートします。このプロパティは、AnnotationValueMemberPath プロパティにマッピングされた少なくとも 1 つの数値データ列を持つデータ項目のコレクションに設定できます。 |
| 43 | + |
| 44 | +たとえば、`DataAnnotationStripLayer` を使用して、株式市場の暴落や連邦金利の変更をチャートに注釈として付けることができます。 |
| 45 | + |
| 46 | +<code-view style="height: 500px" alt="Angular データ注釈ストリップ レイヤーの例" |
| 47 | + data-demos-base-url="{environment:dvDemosBaseUrl}" |
| 48 | + iframe-src="{environment:dvDemosBaseUrl}/charts/data-chart/data-annotation-strip-layer" |
| 49 | + github-src="charts/data-chart/data-annotation-strip-layer"> |
| 50 | +</code-view> |
| 51 | + |
| 52 | + |
| 53 | +<div class="divider--half"></div> |
| 54 | + |
| 55 | +## Angular データ注釈ライン レイヤーの例 |
| 56 | + |
| 57 | +Angular では、`DataAnnotationLineLayer` は、[`IgxDataChartComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_charts.igxdatachartcomponent.html) コンポーネントのプロット領域内の 2 つのポイント間に複数の線を描画します。このデータ注釈レイヤーを使用すると、株価の上昇と下落を株価チャートに注釈として表示できます。すべてのシリーズと同様に、DataAnnotationLineLayer も `DataSource` プロパティによるデータ バインディングをサポートしています。このプロパティは、線の開始ポイントと終了ポイントの x/y 座標を表す、少なくとも 4 つの数値データ列を持つデータ項目のコレクションを設定する必要があります。開始ポイントは `StartValueXMemberPath` および `StartValueYMemberPath` プロパティを使用してマップする必要があり、終了ポイントは `EndValueXMemberPath` および `EndValueYMemberPath` プロパティを使用してマップする必要があります。 |
| 58 | + |
| 59 | +たとえば、DataAnnotationLineLayer を使用して、Y 軸に株価の増加と減少のパターン、および株価の 52 週間の高値と安値の注釈を付けることができます。 |
| 60 | + |
| 61 | +<code-view style="height: 500px" alt="Angular データ注釈ライン レイヤーの例" |
| 62 | + data-demos-base-url="{environment:dvDemosBaseUrl}" |
| 63 | + iframe-src="{environment:dvDemosBaseUrl}/charts/data-chart/data-annotation-line-layer" |
| 64 | + github-src="charts/data-chart/data-annotation-line-layer"> |
| 65 | +</code-view> |
| 66 | + |
| 67 | + |
| 68 | +<div class="divider--half"></div> |
| 69 | + |
| 70 | +## Angular データ注釈矩形レイヤーの例 |
| 71 | + |
| 72 | +Angular では、`DataAnnotationRectLayer` は、[`IgxDataChartComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_charts.igxdatachartcomponent.html) コンポーネントのプロット領域内の開始ポイントと終了ポイントによって定義された複数の四角形をを描画します。このデータ注釈レイヤーは、株価の弱気パターンなどのプロットエリアの領域に注釈を付けることに使用できます。すべてのシリーズと同様に、DataAnnotationRectLayer も `DataSource` プロパティによるデータ バインディングをサポートしています。このプロパティは、矩形の開始ポイントと終了ポイントの x/y 座標を表す、少なくとも 4 つの数値データ列を持つデータ項目のコレクションを設定する必要があります。開始ポイントは `StartValueXMemberPath` および `StartValueYMemberPath` プロパティを使用してマップする必要があり、終了ポイントは `EndValueXMemberPath` および `EndValueYMemberPath` プロパティを使用してマップする必要があります。 |
| 73 | + |
| 74 | +たとえば、DataAnnotationRectLayer を使用して、株価の弱気パターンとギャップを Y 軸に注釈付けできます。 |
| 75 | + |
| 76 | +<code-view style="height: 500px" alt="Angular データ注釈矩形レイヤーの例" |
| 77 | + data-demos-base-url="{environment:dvDemosBaseUrl}" |
| 78 | + iframe-src="{environment:dvDemosBaseUrl}/charts/data-chart/data-annotation-rect-layer" |
| 79 | + github-src="charts/data-chart/data-annotation-rect-layer"> |
| 80 | +</code-view> |
| 81 | + |
| 82 | + |
| 83 | +<div class="divider--half"></div> |
| 84 | + |
| 85 | +## Angular データ注釈バンド レイヤーの例 |
| 86 | + |
| 87 | +Angular では、`DataAnnotationBandLayer` は、[`IgxDataChartComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_charts.igxdatachartcomponent.html) コンポーネントのプロット領域内の 2 つのポイント間に複数の傾斜した四角形を描画します。このデータ注釈レイヤーは、株価の上昇と下落の範囲を注釈するために使用できます。すべてのシリーズと同様に、DataAnnotationBandLayer も `DataSource` プロパティによるデータ バインディングをサポートしています。このプロパティには、線の開始ポイントと終了ポイントの x/y 座標を表す、少なくとも 4 つの数値データ列を持つデータ項目のコレクションを設定します。開始ポイントは `StartValueXMemberPath` および `StartValueYMemberPath` プロパティを使用してマップする必要があり、終了ポイントは `EndValueXMemberPath` および `EndValueYMemberPath` プロパティを使用してマップする必要があります。さらに、数値データ列を AnnotationBreadthMemberPath プロパティにバインドすることで、傾斜した四角形の太さ/サイズを指定することもできます。 |
| 88 | + |
| 89 | +たとえば、DataAnnotationBandLayer を使用して株価の成長範囲に注釈を付けることができます。 |
| 90 | + |
| 91 | +<code-view style="height: 600px" alt="Angular データ注釈バンド レイヤーの例" |
| 92 | + data-demos-base-url="{environment:dvDemosBaseUrl}" |
| 93 | + iframe-src="{environment:dvDemosBaseUrl}/charts/data-chart/data-annotation-band-layer" |
| 94 | + github-src="charts/data-chart/data-annotation-band-layer"> |
| 95 | +</code-view> |
| 96 | + |
| 97 | + |
| 98 | +<div class="divider--half"></div> |
| 99 | + |
| 100 | +## API リファレンス |
| 101 | + |
| 102 | +以下は上記のセクションで説明した API メンバーのリストです。 |
| 103 | + |
| 104 | +* `TargetAxis`: このプロパティは、どの軸に有効な DataAnnotationBandLayer、DataAnnotationLineLayer、および DataAnnotationRectLayer を設定するかを指定します。 |
| 105 | +* `DataSource`: このプロパティは、データを注釈レイヤーにバインドして正確な形状を提供します。 |
| 106 | +* `StartValueXMemberPath`: このプロパティは、DataAnnotationBandLayer、DataAnnotationLineLayer、および DataAnnotationRectLayer の開始位置となる x 座標を含むデータ列の列名にマッピングします。 |
| 107 | +* `StartValueYMemberPath`: このプロパティは、DataAnnotationBandLayer、DataAnnotationLineLayer、および DataAnnotationRectLayer の開始位置となる y 座標を含むデータ列の列名にマッピングします。 |
| 108 | +* `EndValueXMemberPath`: このプロパティは、DataAnnotationBandLayer、DataAnnotationLineLayer、および DataAnnotationRectLayer の終了位置となる x 座標を含むデータ列にマッピングします。 |
| 109 | +* `EndValueYMemberPath`: このプロパティは、DataAnnotationBandLayer、DataAnnotationLineLayer、および DataAnnotationRectLayer の終了位置となる y 座標を含むデータ列にマッピングします。 |
| 110 | +* `StartLabelXMemberPath`: このプロパティは、軸に沿った xAxis の開始位置のオーバーレイ ラベルを表すデータ列へのマッピングです。 |
| 111 | +* `StartLabelXDisplayMode` | `StartLabelYDisplayMode` | `EndLabelXDisplayMode` | `EndLabelYDisplayMode` | `CenterLabelXDisplayMode`: これらのプロパティは、注釈形状の開始、終了、または中央に注釈ラベルとして何を表示するかを指定します。たとえば、マップされたデータ値、データ ラベル、軸の値を表示したり、特定の注釈ラベルを非表示にします。 |
| 112 | +* `StartLabelYMemberPath`: このプロパティは、y 軸上の `DataAnnotationBandLayer`、`DataAnnotationLineLayer`、`DataAnnotationRectLayer` の開始位置の軸ラベルを表すデータ列へのマッピングです。 |
| 113 | +* `EndLabelYMemberPath`: このプロパティは、y 軸上の `DataAnnotationBandLayer`、`DataAnnotationLineLayer`、`DataAnnotationRectLayer` の終了位置の軸ラベルを表すデータ列へのマッピングです。 |
0 commit comments