diogobernardino / williamchart

Android Library to rapidly develop attractive and insightful charts in android applications.
5.1k stars 800 forks source link

crash on tooltip onDataPointTouch #308

Open taouichaimaa opened 2 years ago

taouichaimaa commented 2 years ago

I want to show the value of the touched datapoint, so I used this: binding.includedCharts.sparkeyView.onDataPointTouchListener = { index, _, _ -> binding.includedCharts.showdata.text = myset.toList()[index] .second .toString() } However I get this error : MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback E/MessageQueue-JNI: kotlin.UninitializedPropertyAccessException: lateinit property tooltipView has not been initialized at com.db.williamchart.slidertooltip.SliderTooltip.onDataPointTouch(SliderTooltip.kt:27) at com.db.williamchart.view.AxisChartView.onTouchEvent(AxisChartView.kt:147)

ishdemon commented 2 years ago

same here..too bad this seemed like a good charting library