<!-- BEGIN [% component.name %] -->
  <table class="tree">
    <tr>
      <td>
		[% div_name = 'charts'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
      </td>
      <td>
        <span class="title">Charts &amp; Graphs</span>
      </td>
    </tr>
  </table>

    <div class='itemhidden' id="[% div_name %]">
      <table style="margin-left: 30px">
		<!--
            <tr>
                <td><img alt="" src="/images/text.gif" class="text" /></td>
                <td><a class="nav" href="[% app_url %]/chart">Example charts</a></td>
            </tr>
		-->
    [%
      INCLUDE row class_function = 'chart/=/diagnosis_frequency'
        title = 'Diagnosis frequency (all)';
      INCLUDE row class_function = 'chart/=/new_diagnosis_frequency'
        title = 'Diagnosis frequency (new)';
      INCLUDE row class_function = 'chart/=/presentation_frequency'
        title = 'Presentation frequency';
      INCLUDE row class_function = 'chart/=/specimen_frequency'
        title = 'Specimen frequency';
      INCLUDE row class_function = 'chart/=/diagnosis_status'
        title = 'Diagnosis status';
      INCLUDE row class_function = 'chart/=/requests_by_day_of_week'
        title = 'Requests by day of week';
      INCLUDE row class_function = 'chart/=/reports_by_day_of_week'
        title = 'Reports by day of week';
      INCLUDE row class_function = 'chart/=/requests_by_month'
        title = 'Requests by month';
      INCLUDE row class_function = 'chart/=/diagnosis_errors'
        title = 'Diagnosis errors';
      INCLUDE row class_function = 'chart/=/requests_by_year'
        title = 'Requests per year';
      INCLUDE row class_function = 'chart/=/specimens_by_year'
        title = 'Specimens per year';
    %]
	<!--
        <tr>
            <td><img alt="" src="/images/text.gif" class="text" /></td>
            <td>
                <a class="nav" href="[% app_url %]/gnuplot">Gnuplot</a>
            </td>
        </tr>
	-->
    </table>
  </div>
<!-- END [% component.name %] -->
