Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ChartLegend

Implements

Index

Constructors

constructor

Properties

Private chart

chart: Chart

Private checkboxByDataSet

checkboxByDataSet: Map<DataSet, HTMLElement> = new Map()

Private container

container: HTMLElement

Private dataSetByCheckBox

dataSetByCheckBox: WeakMap<HTMLElement, DataSet> = new WeakMap()

eventByName

eventByName: DomEventByName = mouseEventByName

Private longPressTimeout

longPressTimeout: number = 0

Private options

options: LegendOptions

Methods

addListeners

create

  • create(): void
  • Returns void

Private genCheckbox

  • genCheckbox(dataSet: DataSet): HTMLElement
  • Parameters

    Returns HTMLElement

onPointerDown

  • onPointerDown(e: Event): void

Private onUpListener

  • onUpListener(e: Event): void
  • Parameters

    • e: Event

    Returns void

removeListeners

Private setCheckboxValue

  • setCheckboxValue(dataSet: DataSet, checked: boolean): void
  • Parameters

    • dataSet: DataSet
    • checked: boolean

    Returns void

Private showSelectedDataSet

  • showSelectedDataSet(dataSet: DataSet): void
  • Parameters

    Returns void

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