/*! * * Wijmo Library 5.20251.40 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.knockout.chart.annotation} * KnockoutJS bindings for wijmo.chart.annotation module */ /** * */ export declare var ___keepComment: any; import { WjBinding, WjContext } from 'wijmo/wijmo.knockout.base'; /** * KnockoutJS binding for the {@link AnnotationLayer} object. * * Use the {@link wjFlexChartAnnotationLayer} binding to add {@link 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 {@link AnnotationLayer} class. */ export declare class wjFlexChartAnnotationLayer extends WjBinding { _getControlConstructor(): any; } /** * KnockoutJS binding for annotations. * * The wjFlexChartAnnotation must be contained in a * {@link wjFlexChartAnnotationLayer} binding.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 wjFlexChartAnnotation is used to represent all types of * possible annotation shapes like Circle, Rectangle, Polygon * and so on. The type of annotation shape is specified * in the type attribute. */ export declare class wjFlexChartAnnotation extends WjBinding { _context: any; _createControl(element: any): any; _getMetaDataId(): any; _createWijmoContext(): WjContext; } export declare class wjFlexChartAnnotationContext extends WjContext { _createAnnotation(): any; }