ItemClickEventArgs Interface

Provides data for the ItemClick event.

Declaration

interface ItemClickEventArgs

Use the onItemClick handler to raise the ItemClick event.

Properties

getAxisPoint Property

Returns the axis point corresponding to the clicked visual element.

Declaration

getAxisPoint: () => Data.ItemDataAxisPoint

Property Value

Type Description
() => ItemDataAxisPoint

getData Property

Gets the dashboard item's client data.

Declaration

getData: () => Data.ItemData

Property Value

Type Description
() => ItemData

getDeltas Property

Gets deltas corresponding to the clicked visual element.

Declaration

getDeltas: () => Array<Data.ItemDataDelta>

Property Value

Type Description
() => Array<ItemDataDelta>

getDimensions Property

Gets the dimensions used to create a hierarchy of axis points for the specified axis.

Declaration

getDimensions: () => Array<Data.ItemDataDimension>

Property Value

Type Description
() => Array<ItemDataDimension>

getMeasures Property

Gets measures corresponding to the clicked visual element.

Declaration

getMeasures: () => Data.ItemDataMeasure

Property Value

Type Description
() => ItemDataMeasure

itemName Property

Gets the component name of the dashboard item for which the event was raised.

Declaration

itemName: string

Property Value

Type Description
string

A string value that is the component name of the dashboard item.

requestUnderlyingData Property

Gets underlying data corresponding to the clicked visual element.

Declaration

requestUnderlyingData: (onCompleted: (data: any) => void, dataMembers: string) => void

Property Value

Type Description
(onCompleted: (data: any) => void, dataMembers: string) => void

Note that the requestUnderlyingData property does not return data for calculated fields containing the Aggr function.