v5.20191.606
|

wjFlexChartAnnotationLayer Class

KnockoutJS binding for the AnnotationLayer object.

Use the wjFlexChartAnnotationLayer binding to add AnnotationLayer object to your KnockoutJS applications. For example:

<p>Here is a 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>

The wjFlexChartAnnotationLayer binding supports all read-write properties and events of the AnnotationLayer class.

Hierarchy

  • WjBinding
    • wjFlexChartAnnotationLayer