i want to get the value for the node which is selected by the user in graph. I have tried with this solution but not getting the values.
const ChartEvents = [
{ eventName: "select",callback({ chartWrapper }) {console.log("Selected ", chartWrapper.getChart().getSelection());}];
<Chart chartType="TreeMap" data={data} graphID="TreeMap" options={options} width="100%" height="400px" chartEvents={ChartEvents} />