src/charts/grouped-bar.js
function handleCustomClick (e, d) {
            let [mouseX, mouseY] = getMousePosition(e);
            let dataPoint = isHorizontal ? getNearestDataPoint2(mouseY) : getNearestDataPoint(mouseX);

            dispatcher.call('customClick', e, dataPoint, d3Selection.mouse(e));
        }
function handleCustomClick (e, d) {
            let [mouseX, mouseY] = getMousePosition(e);
            let dataPoint = isHorizontal ? getNearestDataPoint2(mouseY) : getNearestDataPoint(mouseX);

            dispatcher.call('customClick', e, dataPoint, d3Selection.mouse(e));
        }
function handleCustomClick ( e , d ) { let [ mouseX , mouseY ] = getMousePosition ( e ) ; let dataPoint = isHorizontal ? getNearestDataPoint2 ( mouseY ) : getNearestDataPoint ( mouseX ) ; dispatcher . call ( 'customClick' , e , dataPoint , d3Selection . mouse ( e ) ) ; }
Click handler, shows data that was clicked and passes to the user
@private
Click handler shows data that was clicked and passes to the user