aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-chart
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-09-24 12:45:51 +0200
committerRobert Jaros <rjaros@finn.pl>2019-09-24 12:45:51 +0200
commita043e23bc48b5c900f2282a8272c2827a345be55 (patch)
tree65b44309eef3a3ea67282675c454a597a4555788 /kvision-modules/kvision-chart
parent1f5bf15ffdf6d11e0c48e78fee563f4bca77c202 (diff)
downloadkvision-a043e23bc48b5c900f2282a8272c2827a345be55.tar.gz
kvision-a043e23bc48b5c900f2282a8272c2827a345be55.tar.bz2
kvision-a043e23bc48b5c900f2282a8272c2827a345be55.zip
Fix chart onClick event parameters (#84)
Diffstat (limited to 'kvision-modules/kvision-chart')
-rw-r--r--kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt b/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt
index df3b7973..91944e74 100644
--- a/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt
+++ b/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt
@@ -738,7 +738,7 @@ data class ChartOptions(
val hover: HoverOptions? = null,
val events: List<String>? = null,
val onHover: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)? = null,
- val onClick: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)? = null,
+ val onClick: ((event: MouseEvent, activeElements: Array<Any>) -> Any)? = null,
val animation: AnimationOptions? = null,
val layout: LayoutOptions? = null,
val legend: LegendOptions? = null,