Options
All
  • Public
  • Public/Protected
  • All
Menu

builder for a LocalDataProvider along with LineUp configuration options

Hierarchy

  • default
    • DataBuilder

Index

Constructors

  • new DataBuilder(data: Record<string, unknown>[]): DataBuilder

Properties

options: Partial<ITaggleOptions> = ...

Methods

  • build(node: HTMLElement): LineUp
  • buildTaggle(node: HTMLElement): Taggle
  • defaultSlopeGraphMode(mode: "item" | "band"): DataBuilder
  • deriveColumns(...columns: (string | string[])[]): DataBuilder
  • triggers to derive the column descriptions for the given data

    Parameters

    • Rest ...columns: (string | string[])[]

      optional enforced order of columns

    Returns DataBuilder

  • option to enforce that the whole row is shown upon hover without overflow hidden

    default

    false

    Parameters

    • enable: boolean

    Returns DataBuilder

  • groupRowHeight(groupHeight: number, groupPadding?: number): DataBuilder
  • height and padding of an aggregated group in pixel

    default

    40 and 5

    Parameters

    • groupHeight: number
    • groupPadding: number = 5

    Returns DataBuilder

  • show the sorting and grouping hierarchy indicator in the side panel

    Parameters

    • enable: boolean

      enable flag

    Returns DataBuilder

  • identifier for this LineUp instance. by default a random id is generated.

    default

    random string

    Parameters

    • instanceId: string

    Returns DataBuilder

  • option to rotate labels on demand in narrow columns

    default

    0 - disabled

    Parameters

    • rotation: number

      rotation in degrees

    Returns DataBuilder

  • rowHeight(rowHeight: number, rowPadding?: number): DataBuilder
  • sidePanel(enable: boolean, collapsed?: boolean): DataBuilder
  • option to enable/disable the side panel

    Parameters

    • enable: boolean

      enable flag

    • collapsed: boolean = false

      whether collapsed by default

    Returns DataBuilder

  • option to enable/disable showing a summary (histogram, ...) in the header

    default

    true

    Parameters

    • enable: boolean

    Returns DataBuilder