TooltipTableColumnCustom
@elastic/charts • Exports
@elastic/charts / TooltipTableColumnCustom
Interface: TooltipTableColumnCustom<D, SI>
Table column definition for fully custom values
Contents
Extends
TooltipTableColumnBase<D,SI>
Type parameters
• SI extends SeriesIdentifier = SeriesIdentifier
Properties
cell
cell: (
item) =>ReactNode
Renders column cell element inside a td element
Parameters
• item: TooltipValue<D, SI>
Returns
ReactNode
Source
packages/charts/src/components/tooltip/components/types.ts:74
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?
footer?:
string| (items) =>string
Table column footer
Inherited from
TooltipTableColumnBase.footer
Source
packages/charts/src/components/tooltip/components/types.ts:44
header?
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