.y,
                x: selectedPoint.x,
                category:selectedPoint.category,
                offset: {
                    plotX: selectedPoint.plotX,
                    plotY: selectedPoint.plotY
                },
                index: selectedPoint.index,
            };
            return messageBody;
        }
            
        function configureChartEvent(aaPlotOptions, eventName, handlerName) {
            // Extract the additional function based on the event name
            var addi