Interface WordCloudChartTooltipOptions

options specific to world cloud charts

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

Hierarchy (view full)

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

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

a function to format the tooltip values

valueLabel?: string

the label that shows up by the value of the highlighted word in the tooltip

wordLabel?: string

the label that shows up by the highlighted word in the tooltip