5.20241.9
wijmo.knockout.chart.annotation Class wjFlexChartAnnotationLayer Wijmo API クラス

wjFlexChartAnnotationLayer クラス

AnnotationLayer コントロールのKnockoutJS連結。

wjFlexChartAnnotationLayer 連結を使用して、KnockoutJSアプリケーションに AnnotationLayer オブジェクトを追加できます。 次に例を示します。

<p>AnnotationLayerの例:</p>
<div data-bind="wjFinancialChart: { itemsSource: fData, bindingX: 'date', chartType:'Candlestick' }">
   <div data-bind="wjFinancialChartSeries: { bindingX: 'date', binding: 'high,low,open,close' }"></div>
   <div data-bind="wjFlexChartAnnotationLayer: {}">
       <div data-bind="wjFlexChartAnnotation: { type: 'Rectangle', content: 'E',height:20, width:20,attachment:'DataIndex',pointIndex: 10}"></div>
       <div data-bind="wjFlexChartAnnotation: { type: 'Ellipse', content: 'E',height:20, width:20,attachment:'DataIndex',pointIndex: 30}"></div>
   </div>
</div>

wjFlexChartAnnotationLayer 連結は、 AnnotationLayer クラスのすべての読み取り/書き込み可能プロパティおよびイベントをサポートします。

階層

  • WjBinding
    • wjFlexChartAnnotationLayer