ItemClickEventArgs Interface
Provides data for the ItemClick event.
Declaration
export interface ItemClickEventArgs
Remarks
Use the onItemClick handler to raise the ItemClick event.
Properties
getAxisPoint Property
Returns the axis point corresponding to the clicked visual element.
Declaration
getAxisPoint: () => ItemDataAxisPoint
Property Value
Type |
---|
() => ItemDataAxisPoint |
getData Property
Gets the dashboard item’s client data.
Declaration
getData: () => ItemData
Property Value
Type |
---|
() => ItemData |
getDeltas Property
Gets deltas corresponding to the clicked visual element.
Declaration
getDeltas: () => Array<ItemDataDelta>
Property Value
Type |
---|
() => Array<ItemDataDelta> |
getDimensions Property
Gets the dimensions used to create a hierarchy of axis points for the specified axis.
Declaration
getDimensions: () => Array<ItemDataDimension>
Property Value
Type |
---|
() => Array<ItemDataDimension> |
getMeasures Property
Gets measures corresponding to the clicked visual element.
Declaration
getMeasures: () => ItemDataMeasure
Property Value
Type |
---|
() => 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: ItemUnderlyingData) => void, dataMembers: string[]) => void
Property Value
Type | Description |
---|---|
(onCompleted: (data: ItemUnderlyingData) => void, dataMembers: string[]) => void | A custom function that is executed when the server sends a response. |
Remarks
The data parameter returns the ItemUnderlyingData object that contains a list of records from the dashboard data source.
Note that the requestUnderlyingData property does not return data for calculated fields containing the Aggr function.