Components Interactions Examples Tutorials API FAQ
Options
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected _className

_className: string

Protected _svgElementName

_svgElementName: string

Methods

Protected _applyDefaultAttributes

  • _applyDefaultAttributes(selection: Selection<any>): void

draw

  • draw(data: any[], drawSteps: DrawStep[])
  • Draws the data into the renderArea using the spefic steps and metadata

    Parameters

    • data: any[]

      The data to be drawn

    • drawSteps: DrawStep[]

      The list of steps, which needs to be drawn

remove

  • remove(): void

renderArea

selection

selectionForIndex

  • selectionForIndex(index: number): Selection<any>

selector

  • selector(): string

totalDrawTime

  • totalDrawTime(data: any[], drawSteps: DrawStep[]): number
  • Calculates the total time it takes to use the input drawSteps to draw the input data

    Parameters

    • data: any[]

      The data that would have been drawn

    • drawSteps: DrawStep[]

      The DrawSteps to use

    Returns number

    The total time it takes to draw

Generated using TypeDoc