Interface: TooltipOptions
Extends
Properties
background?
optionalbackground?:string
Container background (theme background by default).
borderColor?
optionalborderColor?:string
Border color (theme muted color by default).
borderRadius?
optionalborderRadius?:number
borderWidth?
optionalborderWidth?:number
Border width; 0 removes the border.
color?
optionalcolor?:string
Inherited from
enabled?
optionalenabled?:boolean
Inherited from
fontFamily?
optionalfontFamily?:string
Inherited from
fontSize?
optionalfontSize?:number
Inherited from
fontStyle?
optionalfontStyle?:FontStyle
Inherited from
fontWeight?
optionalfontWeight?:FontWeight
Inherited from
mode?
optionalmode?:"single"|"shared"
single — the nearest node; shared — values of all series in the category.
padding?
optionalpadding?:string|PaddingValue
Inner padding of the container: 8, [8, 12], [8, 12, 4, 0], { top, right, bottom, left } — or a raw CSS string.
position?
optionalposition?:object
Positioning: at the node edge (by default), at the node center, or at the pointer.
anchorTo?
optionalanchorTo?:"center"|"node"|"pointer"
xOffset?
optionalxOffset?:number
yOffset?
optionalyOffset?:number
range?
optionalrange?:number|"exact"|"nearest"
Capture area: a number — radius in px (30), 'exact' — only direct hits on a node, 'nearest' — the nearest node from anywhere in the plot area.
shadow?
optionalshadow?:string|false
CSS box-shadow; false removes the shadow.