Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AnnotationPlugin
    • AnnotationPlugin

Index

Constructors

constructor

  • Parameters

    • Optional options: IAnnotationOptions

    Returns AnnotationPlugin

Properties

annotations

annotations: Annotations

options

options: IAnnotationOptions

plot

plot: Plot

Methods

add_annotation

  • add_annotation(annotation: IAnnotation): number
  • Parameters

    • annotation: IAnnotation

    Returns number

clear_annotations

  • clear_annotations(): any
  • Returns any

init

  • init(plot: Plot): any
  • Parameters

    • plot: Plot

    Returns any

menu

  • menu(): object
  • Returns object

refresh

  • refresh(canvas: HTMLCanvasElement): any
  • Parameters

    • canvas: HTMLCanvasElement

    Returns any

set_highlight

  • set_highlight(state?: boolean, annotations?: Annotations, x?: number, y?: number): any
  • Parameters

    • Optional state: boolean
    • Optional annotations: Annotations
    • Optional x: number
    • Optional y: number

    Returns any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc