@sqlrooms/recharts / DefaultTooltipContentProps
Interface: DefaultTooltipContentProps<TValue, TName>
Type Parameters
| Type Parameter |
|---|
TValue extends ValueType |
TName extends NameType |
Properties
separator?
optionalseparator:string
wrapperClassName?
optionalwrapperClassName:string
labelClassName?
optionallabelClassName:string
formatter?
optionalformatter:Formatter<TValue,TName>
contentStyle?
optionalcontentStyle:CSSProperties
itemStyle?
optionalitemStyle:CSSProperties
labelStyle?
optionallabelStyle:CSSProperties
labelFormatter()?
optionallabelFormatter: (label,payload) =>ReactNode
Parameters
| Parameter | Type |
|---|---|
label | any |
payload | Payload<TValue, TName>[] |
Returns
ReactNode
label?
optionallabel:any
payload?
optionalpayload:Payload<TValue,TName>[]
itemSorter()?
optionalitemSorter: (item) =>string|number
Parameters
| Parameter | Type |
|---|---|
item | Payload<TValue, TName> |
Returns
string | number
accessibilityLayer?
optionalaccessibilityLayer:boolean
