{% if field_id is not empty %} {% set field = createModel('ReportFields','reports').findById(field_id) %} {% set report_id = field.report_id %} {% set field_name = field.name %} {% set report = createModel('Reports','reports').findById(report_id) %} {% endif %}

{{ title }}

{{ labels.field }} {{ component('reports::admin.reports.fields',{ class: 'selection basic button mini', report_id: report_id, id: 'field_chart_dropdown' }) }}
{% if field_id is not empty %} {{ component('reports::chart',{ report_id: report_id, field_id: field_id }) }} {% endif %}