This commit is contained in:
Ravi Gulhane 2022-05-04 09:46:52 +05:30
parent a380dab1ac
commit 0cf1ae2ddd
2 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,7 @@
@endif
@elseif($metric->agg_type == 'team')
@if($metric->type == 'grouped')
@if($metric->type == 'grouped' || $metric->type == 'verses')
values = {!!json_encode($metric->values)!!}
options = {
series: values.map(a => a.value),

View File

@ -173,6 +173,7 @@
@case($post['type'] == 'details' && $graph->chart == 'tabular')
<div id="cardCollpase4" class="collapse pt-3 show">
<div class="table-responsive">
@if(isset($graph->values->metrics))
<table class="table table-centered table-nowrap table-borderless mb-0">
<thead class="table-light">
<tr>
@ -204,6 +205,7 @@
@endforeach
</tbody>
</table>
@endif
</div> <!-- .table-responsive -->
</div> <!-- end collapse-->
@break