Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Events

highlightChanged

  • highlightChanged(dataIndex: number): void
  • emitted when the highlight changes

    asmemberof

    EngineRanking

    Parameters

    • dataIndex: number

      the highlghted data index or -1 for none

    Returns void

updateData

  • updateData(): void
  • emitted when the data of the ranking needs to be updated

    asmemberof

    EngineRanking

    Returns void

updateHist

  • updateHist(col: Column): void
  • emitted when the histogram of a column needs to be updated

    asmemberof

    EngineRanking

    Parameters

    • col: Column

      the column to update the histogram of

    Returns void

widthChanged

  • widthChanged(): void
  • emitted when the width of the ranking changed

    asmemberof

    EngineRanking

    Returns void

Properties

body

body: HTMLElement

header

header: HTMLElement

height

height: number

hidden

hidden: boolean

ranking

ranking: Ranking

width

width: number

Static EVENT_HIGHLIGHT_CHANGED

EVENT_HIGHLIGHT_CHANGED: "highlightChanged" = RankingEvents.EVENT_HIGHLIGHT_CHANGED

Static EVENT_UPDATE_DATA

EVENT_UPDATE_DATA: "updateData" = RankingEvents.EVENT_UPDATE_DATA

Static EVENT_UPDATE_HIST

EVENT_UPDATE_HIST: "updateHist" = RankingEvents.EVENT_UPDATE_HIST

Static EVENT_WIDTH_CHANGED

EVENT_WIDTH_CHANGED: "widthChanged" = RankingEvents.EVENT_WIDTH_CHANGED

Accessors

context

currentData

id

  • get id(): string

Methods

destroy

  • destroy(): void

enableHighlightListening

  • enableHighlightListening(enable: boolean): void

findNearest

  • findNearest(dataIndices: number[]): number

getHighlight

  • getHighlight(): number

groupData

hide

  • hide(): void
  • Returns void

init

  • init(): void
  • Returns void

on

  • on(type: "widthChanged", listener: widthChanged | null): this
  • on(type: "updateData", listener: updateData | null): this
  • on(type: "updateHist", listener: updateHist | null): this
  • on(type: "highlightChanged", listener: highlightChanged | null): this

render

scrollIntoView

  • scrollIntoView(dataIndex: number): boolean

setHighlight

  • setHighlight(dataIndex: number): undefined | true | false

show

  • show(scrollLeft: number, clientWidth: number, isGoingRight: boolean): void
  • Parameters

    • scrollLeft: number
    • clientWidth: number
    • isGoingRight: boolean

    Returns void

updateAll

  • updateAll(): void

updateBody

  • updateBody(): void

updateColumnWidths

  • updateColumnWidths(): void

updateHeaderOf

updateHeaders

  • updateHeaders(): void

updateSelection

  • updateSelection(selectedDataIndices: object): void