Given a sankey chart, I can access only 03 values (source, target and weight) in the tooltip when hovering a link. The same when hovering a node. My original object (for node and link) still has more info out of 3 values binding into sankey. Is it anyway to query the original object please?
There is no built-in option to pass more values to this event handler. However, you can manually obtain them from the original data using the source\target\weight fields as parameters.
The following code will return all items:
let currentItems = widgetInstance.getDataSource().items();
You can obtain a widget instance as described at Get a Widget Instance