interface TooltipOptions {
    customHTML?: (data: any, defaultHTML: string, datum: any) => string;
    enabled?: boolean;
    groupLabel?: string;
    showTotal?: boolean;
    totalLabel?: string;
    truncation?: interfaces.TruncationOptions;
    valueFormatter?: (value: any, label: string) => string;
}

Hierarchy (View Summary)

Properties

customHTML?: (data: any, defaultHTML: string, datum: any) => string

custom function for returning tooltip HTML passed an array or object with the data, the default tooltip markup and the corresponding datum of the hovered element

enabled?: boolean

enable or disable tooltip

groupLabel?: string

customizes the Group label shown inside tooltips

showTotal?: boolean

show total of items

totalLabel?: string

customizes the Total label shown inside tooltips

valueFormatter?: (value: any, label: string) => string

a function to format the tooltip values