Skip to main content

TooltipTableColumnNumber

@elastic/chartsExports


@elastic/charts / TooltipTableColumnNumber

Interface: TooltipTableColumnNumber<D, SI>

Table column definition for number values

Contents

Extends

Type parameters

D extends BaseDatum = Datum

SI extends SeriesIdentifier = SeriesIdentifier

Properties

cell

cell: (item) => string | number

Renders column cell element inside a td element

Parameters

item: TooltipValue<D, SI>

Returns

string | number

Source

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


className?

className?: string

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

Inherited from

TooltipTableColumnBase.className

Source

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


footer?: string | (items) => string

Table column footer

Inherited from

TooltipTableColumnBase.footer

Source

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


header?: string | (items) => string

Table column header

Inherited from

TooltipTableColumnBase.header

Source

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


hidden?

hidden?: boolean | (items) => boolean

Boolean to hide entire column from table

Inherited from

TooltipTableColumnBase.hidden

Source

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


id?

id?: string

Identifier for column to be used in callbacks if needed

Inherited from

TooltipTableColumnBase.id

Source

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


style?

style?: TooltipCellStyle

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

Inherited from

TooltipTableColumnBase.style

Source

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


truncate?

truncate?: boolean

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

Inherited from

TooltipTableColumnBase.truncate

Source

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


type

type: "number"

Source

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


width?

width?: GridTemplateColumns<string | number>

Width of column used to generate gridTemplateColumns.

Inherited from

TooltipTableColumnBase.width

Source

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


Generated using typedoc-plugin-markdown and TypeDoc