ilter.getData(data.filter);

        // get the chart or table plugin
        chart = $(&#39;[data-chart-data-id=&quot;&#39; + chartId + &#39;&quot;]&#39;).data(&#39;plugin_chart&#39;);

        // update it&#39;s values
        chart.updateChart(newData);
    });
});
</code></pre><h2 id="date-filter">Date Filter</h2>
<p>A Javascript utility function is provided to allow the filtering of data according to the event raised by the chart controls (shown above).</p>
<pre><code>// The raw data - each element in 