{{title}}

{{i18n 'admin.dashboard.reports.start_date'}} {{input type="date" value=startDate}} {{i18n 'admin.dashboard.reports.end_date'}} {{input type="date" value=endDate}} {{d-button action="refreshReport" class="btn-primary" label="admin.dashboard.reports.refresh_report" icon="refresh"}}
{{#if viewingTable}} {{i18n 'admin.dashboard.reports.view_table'}} {{else}} {{i18n 'admin.dashboard.reports.view_table'}} {{/if}} | {{#if viewingBarChart}} {{i18n 'admin.dashboard.reports.view_chart'}} {{else}} {{i18n 'admin.dashboard.reports.view_chart'}} {{/if}}
{{#conditional-loading-spinner condition=refreshing}} {{#each row in dataReversed}} {{/each}}
{{xaxis}} {{yaxis}}
{{row.x}} {{#if viewingTable}} {{row.y}} {{/if}} {{#if viewingBarChart}}
{{row.y}}
{{/if}}
{{/conditional-loading-spinner}}