
    // get the target charts
    var targets = data.chartIds;
  });
</code></pre></li>
</ul>
<p>The <code>data.filter</code> will be an object in the form of:</p>
<pre><code>{
  scale: &#39;month&#39;,
  period: {
    start: {
      year: 2010,
      month: 1
    },
    end: {
      year: 2011,
      month: 12
    }
  }
};
</code></pre><p>The <code>data.chartIds</code> value will contain an array of values taken from the <code>data-chart-controls-for</code> data-attribute.</p>
<p>For example, using <code>d