Class DataBuilder

builder for a LocalDataProvider along with LineUp configuration options

Hierarchy

  • default
    • DataBuilder

Constructors

Properties

options: Partial<ITaggleOptions> = ...

Methods

  • add the default ranking (all columns) to this data provider

    Parameters

    • addSupportTypes: boolean = true

      add support types, too, default: true

    Returns DataBuilder

  • option to specify the default slope graph mode

    Parameters

    • mode: "item" | "band"

    Returns DataBuilder

    'item'
    
  • triggers to derive the column descriptions for the given data

    Parameters

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

      optional enforced order of columns

    Returns DataBuilder

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

    Parameters

    • enable: boolean

    Returns DataBuilder

    false
    
  • height and padding of an aggregated group in pixel

    Parameters

    • groupHeight: number
    • groupPadding: number = 5

    Returns DataBuilder

    40 and 5
    
  • 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.

    Parameters

    • instanceId: string

    Returns DataBuilder

    random string
    
  • option to rotate labels on demand in narrow columns

    Parameters

    • rotation: number

      rotation in degrees

    Returns DataBuilder

    0 - disabled
    
  • height and padding of a row

    Parameters

    • rowHeight: number
    • rowPadding: number = 2

    Returns DataBuilder

    18 and 2
    
  • 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

    Parameters

    • enable: boolean

    Returns DataBuilder

    true