Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on tooltip onDataPointTouch #308

Open
taouichaimaa opened this issue Dec 22, 2021 · 2 comments
Open

crash on tooltip onDataPointTouch #308

taouichaimaa opened this issue Dec 22, 2021 · 2 comments

Comments

@taouichaimaa
Copy link

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
Copy link

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

@tejas-bhong
Copy link

Facing same issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants