pradeepkumarreddy
Posts: 16
Joined: Mon Jun 20, 2022 1:58 pm

How to pass custom object for graph point on Android

How to pass custom object for point on Android ?
I want to pass extra information other than x and y values for point on graph. That extra information i want to use in tooltip.
How to achieve this on Android ?

I tried something like this, but it did not work.

data class GraphPoint(val x:Float, val y:Float, val date:Long)

val readings = ArrayList<List<GraphPoint>>()

val scatter = HIScatter()
scatter.data = readings
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: How to pass custom object for graph point on Android

pradeepkumarreddy,
I've noticed you have created a thread with the same question here: https://github.com/highcharts/highchart ... issues/237 We work as a single team across all support platforms including stack overflow, so sometimes it doubles our work. Your thread will be continued at GitHub. The answers are being delivered asap anyway.

Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”