Sending data from UI Template (Tabulator Table) to Chart

Hi, I have Tabulator Table in a UI Template and need to send data out to render a bar chart. Right now I am just trying to get the data flow working. I have a button in the column header that pops up a menu with a "chart" link that triggers the following function. I've reviewed a lot of posts/examples on this, but still can't figure out how to send a msg out the UI template. Thanks in advance.

var headerMenu = [
        action:function(e, column){
      //  send out column name