I have an issue with my dashboard where the graph seems to be working as it should but the statistics is empty aside from the "Service Time".
![image]()
![image]()
Same for Department, Topics and Agent.

I tried looking in to dashboard.inc.php but my understanding of the variables and how it gets the data from the database is not enough to figure out why it isn't working.
I'm running the develop-next branch as it has a feature I wanted. I'm not sure if that might have something to do with this.
Here's how dashboard.inc.php looks:
<?php$first = true;foreach ($groups as $g=>$desc) {$data = $report->getTabularData($g); ?><div class="tab_content <?php echo (!$first) ? 'hidden' : ''; ?>" id="<?php echo Format::slugify($g); ?>"><table class="dashboard-stats table"><tbody><tr><?phpforeach ($data['columns'] as $j=>$c) { ?><th <?php if ($j === 0) echo 'width="30%" class="flush-left"'; ?>><?php echo Format::htmlchars($c); ?></th><?php} ?></tr></tbody><tbody><?phpforeach ($data['data'] as $i=>$row) {echo '<tr>';foreach ($row as $j=>$td) {if ($j === 0) { ?><th class="flush-left"><?php echo Format::htmlchars($td); ?></th><?php }else { ?><td><?php echo Format::htmlchars($td);if ($td) { // TODO Add head map}echo '</td>';}}echo '</tr>';}$first = false; ?></tbody></table><div style="margin-top: 5px"><button type="submit" class="link button" name="export"value="<?php echo Format::htmlchars($g); ?>"><i class="icon-download"></i><?php echo __('Export'); ?></a></div></div><?php}?></form>