chart.findObject()

Type: function(label)
Returns: Promise<Object>

Asynchronously finds an object on the chart. If the object was found, the promise resolves to the object. Otherwise, the promise gets rejected.

const object = await chart.findObject(label)
console.log(object.label)