✅ You are viewing documentation for the latest version of Compose SDK.
Version:

# Interface CustomWidgetEventProps<DataPoint>

Event props for custom widgets with generic data point type.

# Type parameters

Parameter Default Description
DataPoint extends AbstractDataPointWithEntries AbstractDataPointWithEntries The shape of data points for this custom widget

# Properties

# Callbacks

# onDataPointClick

onDataPointClick?: CustomWidgetDataPointEventHandler< DataPoint >

Click handler callback for a data point


# onDataPointContextMenu

onDataPointContextMenu?: CustomWidgetDataPointContextMenuHandler< DataPoint >

Context menu handler callback for a data point


# onDataPointsSelected

onDataPointsSelected?: CustomWidgetDataPointsEventHandler< DataPoint >

Handler callback for selection of multiple data points