ASP.NET MVC Controls | ComponentOne
In This Topic
    AnnotationLayer Class
    In This Topic
    File
    wijmo.chart.annotation.js
    Module
    wijmo.chart.annotation

    Represents an annotation layer for FlexChart and FinancialChart.

    The AnnotationLayer contains a collection of various annotation elements: texts, lines, images, rectangles etc. To use the AnnotationLayer, create annotations and push them to the layer's items property.

    Constructor

    Properties

    Methods

    Constructor

    constructor

    constructor(chart: FlexChartCore, options?): AnnotationLayer
    

    Initializes a new instance of the AnnotationLayer class.

    Parameters
    Returns
    AnnotationLayer

    Properties

    items

    Gets the collection of annotation elements in the AnnotationLayer.

    Type
    ObservableArray

    Methods

    getItem

    getItem(name: string): AnnotationBase
    

    Gets an annotation element by name in the AnnotationLayer.

    Parameters
    • name: string

      The annotation's name.

    Returns
    AnnotationBase

    getItems

    getItems(name: string): Array
    

    Gets the annotation elements by name in the AnnotationLayer.

    Parameters
    • name: string

      The annotations' name.

    Returns
    Array