I've spent hours and hours trying to figure out how to do what I thought would be very easy. There are examples of how to use the Pie chart on the Examples tab of this page: https://splunkui.splunk.com/Packages/visualizations/?path=%2FPie They all work great and have an option to show the code. None of them do anything with the point.click event. On the Events tab, it shows the data changing when you click a wedge, but doesn't have an option to show the code. How is it doing what it's doing? How do you wire up the event to fire your own code? I started with the first example on the Examples tab, then tried to add a handler. I've tried onClick, pointClick, onPointClick, onPressed, tried passing it in through options and as a last resort, tried every idea ChatGPT could come up with. It finally gave up and suggested I ask here. If I wrap the Pie in a div and add an onClick handler to the div, I can capture the event and see which wedge was clicked. But that seems messy and not how it's intended to be used. Anybody got any ideas on how to get this wired up? Just seeing what the code looks like that's running on the Events tab would do the trick.
... View more