Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IScriptDesc

Hierarchy

Index

Properties

color?: string

color of this column

deprecated

not used anymore

colorMapping?: string | ITypedDump | ((v: number) => string)

color mapping

description?: string

column description

domain?: [number, number]

either map or domain should be available

fixed?: boolean

whether the column can be removed or not

default

false

frozen?: boolean

frozen column

default

isSupportType

groupRenderer?: string

default group renderer to use

label: string

label of the column

labelAsHTML?: boolean

whether to render the label as HTML (unsafe)

default

false

dump of mapping function

numberFormat?: string

d3 format number Format

default

0.3n

range?: [number, number]
default

[0,1]

renderer?: string

default renderer to use

script?: string

the function to use, it has two parameters: children (current children) and values (their row values)

default

'return Math.max.apply(Math,values)'

summary?: string

column summary line (subtitle)

summaryAsHTML?: boolean

whether to render the description as HTML (unsafe)

default

false

summaryRenderer?: string

default summary renderer to use

type: string

the column type

visible?: boolean

is this column visible by default

default

true

width?: number

initial width of the column

default

100 or 200 for strings