Configure the Tooltip spec
mainThe Tooltip spec defines the appearance and behavior of chart tooltips. It is compatible with all charts except Metric and Wordcloud.
Important Constraints:
- Only a single
Tooltipspec can be defined per chart. If multiple are provided, only the last one is used. - When using
customTooltip, theheader,body, andfooterproperties are ignored. - When using
header, theheaderFormatteris ignored.