A newer version of this page is available. Switch to the current version.

Methods

Methods used to control the funnel item.

getColor()

Gets the funnel item's color specified in the data source or palette.

Return Value:

String

The funnel item's color.

See Also

hover(state)

Changes the funnel item's hover state.

Parameters:
state:

Boolean

true sets the funnel item into the hover state; false sets it back.

See Also

isHovered()

Indicates whether the funnel item is in the hover state.

Return Value:

Boolean

true if the funnel item is in the hover state; otherwise false.

isSelected()

Indicates whether the funnel item is selected.

Return Value:

Boolean

true if the funnel item is selected; otherwise false.

See onItemClick to learn how to implement selection.

See Also

select(state)

Selects or cancels the funnel item's selection.

Parameters:
state:

Boolean

true selects the funnel item; false cancels the selection.

See onItemClick to learn how to implement selection.

See Also

showTooltip()

Shows the funnel item's tooltip.