ata-chart-controls-for=&quot;[&#39;chart1&#39;, &#39;table1&#39;]&quot;</code> would result in:</p>
<pre><code>// data.chartIds
data.chartIds = [&quot;chart1&quot;, &quot;table1&quot;]
</code></pre><p>This event can then be used to update the table and chart, for example:</p>
<pre><code>var chart;
var dataFilter = new DataFilter({
  // chart data
});

$(&#39;[data-chart-controls]&#39;).on(&#39;chart-filter-change&#39;, function(e, data) {
    _.each(data.chartIds, function(chartId) {
        newData = dataF