<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<div class="modal fade" id="task-tracking-stats-modal" tabindex="-1" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close close-task-stats" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                    <?= _l('task_statistics'); ?>
                </h4>
            </div>
            <div class="modal-body">
                <div class="relative" style="min-height:250px;max-height:250px;">
                    <canvas id="task-tracking-stats-chart" height="250"></canvas>
                </div>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<script>
    taskTrackingStatsData = <?= $stats; ?> ;
</script>