I would like to call a function and still run the default when the user clicks the chart legend as seen in the gif below.