EventListener

interface EventListener<DOMAIN>

An EventListener can listen and handle to ChartEvents.

Functions

onHighlight
Link copied to clipboard
common
abstract fun onHighlight(listener: (event: HighlightEvent<DOMAIN>) -> Unit)
Add a listener on a HighlightEvent.
onPan
Link copied to clipboard
common
abstract fun onPan(listener: (event: PanEvent) -> Unit)
Add a listener on a PanEvent.
onSelect
Link copied to clipboard
common
abstract fun onSelect(listener: (event: SelectEvent<DOMAIN>) -> Unit)
Add a listener on a SelectEvent.
onZoom
Link copied to clipboard
common
abstract fun onZoom(listener: (event: ZoomEvent) -> Unit)
Add a listener on a ZoomEvent.

Inheritors

Chart
Link copied to clipboard