Module: TooltipFormatter

Configuration properties for tooltip.
Parameters:
Name Type Description
dataModel DataModel data model instance containing all rows which needs to be shown in the tooltip.
context Object Additional information for formatting tooltip.
Properties
Name Type Description
axes Object Instances of axis.
Properties
Name Type Description
color ColorAxis Color axis instance.
size SizeAxis Size axis instance.
shape ShapeAxis Shape Axis instance.
Source:
Returns:
Array of arrays containing values to displayed in a row or function returned by ```html``` operator available in Operators. ``` This method can return output in this format, [ ['Origin', 'USA'], ['Cylinders', { value: '6', style: { 'font-weight': 'bold' } }] ] Every sub array in the array represents a row in the tooltip content and each value can be as string or object. Or it can be in this format, html`
Origin
USA
` ```
Type
Array | function