React Funnel - Tooltip

import { FunnelTypes } from "devextreme-react/funnel"

contentTemplate

Specifies a custom template for a tooltip.

Type:

template

Template Data:
Name Type Description
item

Funnel Item

The Item object.

percent

Number

The item's percentage value.

percentText

String

The item's formatted percentage value converted to a string.

value

Number

The raw item value.

valueText

String

The item's formatted value converted to a string.

Default Name: undefined

customizeTooltip

Customizes a specific tooltip's appearance.

Type:

Function

Function parameters:
info:

Object

Information on the funnel item being pressed or hovered over with the mouse pointer.

Object structure:
Name Type Description
item

Funnel Item

The Item object.

percent

Number

The item's percentage value.

percentText

String

The item's formatted percentage value converted to a string.

value

Number

The raw item value.

valueText

String

The item's formatted value converted to a string.

Return Value:

Object

The tooltip's text or markup and appearance settings.

Default Value: undefined