# Interface: TooltipItem<TType>

# Type parameters

Name Type
TType extends ChartType

# Properties

# chart

chart: Chart<keyof ChartTypeRegistry, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

The chart the tooltip is being shown on

# Defined in

index.esm.d.ts:2776 (opens new window)


# dataIndex

dataIndex: number

Index of this data item in the dataset

# Defined in

index.esm.d.ts:2811 (opens new window)


# dataset

dataset: UnionToIntersection<ChartDataset<TType, DistributiveArray<ChartTypeRegistry[TType]["defaultDataPoint"]>>>

The dataset the item comes from

# Defined in

index.esm.d.ts:2801 (opens new window)


# datasetIndex

datasetIndex: number

Index of the dataset the item comes from

# Defined in

index.esm.d.ts:2806 (opens new window)


# element

element: Element<AnyObject, AnyObject>

The chart element (point, arc, bar, etc.) for this tooltip item

# Defined in

index.esm.d.ts:2816 (opens new window)


# formattedValue

formattedValue: string

Formatted value for the tooltip

# Defined in

index.esm.d.ts:2796 (opens new window)


# label

label: string

Label for the tooltip

# Defined in

index.esm.d.ts:2781 (opens new window)


# parsed

parsed: UnionToIntersection<ParsedDataType<TType>>

Parsed data values for the given dataIndex and datasetIndex

# Defined in

index.esm.d.ts:2786 (opens new window)


# raw

raw: unknown

Raw data values for the given dataIndex and datasetIndex

# Defined in

index.esm.d.ts:2791 (opens new window)