Skip to main content

TooltipTableColumnBase

@elastic/chartsExports


@elastic/charts / TooltipTableColumnBase

Type alias: TooltipTableColumnBase<D, SI>

TooltipTableColumnBase<D, SI>: Object

Base table column definition

Type parameters

D extends BaseDatum = Datum

SI extends SeriesIdentifier = SeriesIdentifier

Type declaration

className?

className?: string

ClassName to be applied to table cells within column (i.e. td or th)

footer?: string | (items) => string

Table column footer

header?: string | (items) => string

Table column header

hidden?

hidden?: boolean | (items) => boolean

Boolean to hide entire column from table

id?

id?: string

Identifier for column to be used in callbacks if needed

style?

style?: TooltipCellStyle

Limited styles to apply to table cells within column (i.e. td or th)

truncate?

truncate?: boolean

truncates cell content sharing the available width with other columns. Set width to control column width for truncating.

width?

width?: CSSProperties["gridTemplateColumns"]

Width of column used to generate gridTemplateColumns.

Source

packages/charts/src/components/tooltip/components/types.ts:28


Generated using typedoc-plugin-markdown and TypeDoc