Forum Discussion
giorgikok
3 years agoFrequent Visitor
Bar Chart Interactivity on click
Hello, I am trying to add chart interactivity and I've run into a problem. The selectionID of my chart that is kept in dataPoints does not seem to return correctly. After looking around and loggin t...
- 3 years ago
figured it out:
const clickData = d3.select(d.target).datum() as { selectionId: ISelectionId };
this is how you get the selectionId
giorgikok
3 years agoFrequent Visitor
figured it out:
const clickData = d3.select(d.target).datum() as { selectionId: ISelectionId };
this is how you get the selectionId