1a81e5019SRico Sonntag<?php 2d70512abSGreg Roach 3a81e5019SRico Sonntagdeclare(strict_types=1); 4a81e5019SRico Sonntag 5a81e5019SRico Sonntaguse Fisharebest\Webtrees\I18N; 6d70512abSGreg Roach 7dc270d8cSGreg Roach/** 8dc270d8cSGreg Roach * @var array<mixed> $chart_options 9dc270d8cSGreg Roach * @var string $chart_title 10dc270d8cSGreg Roach * @var array<array> $data 11dc270d8cSGreg Roach * @var string $language 12dc270d8cSGreg Roach */ 13dc270d8cSGreg Roach 14a81e5019SRico Sonntag?> 15a81e5019SRico Sonntag 16a81e5019SRico Sonntag<?php if (count($data) === 1) : ?> 1739c990acSGreg Roach <?= I18N::translate('This information is not available.') ?> 18a81e5019SRico Sonntag<?php else : ?> 19*61275c55SJonathan Jaubart <div class="d-grid mb-3"> 20*61275c55SJonathan Jaubart <div class="card"> 21a81e5019SRico Sonntag <div class="card-header"> 22a81e5019SRico Sonntag <?= $chart_title ?> 23a81e5019SRico Sonntag </div> 24a81e5019SRico Sonntag <div class="card-body"> 25dc270d8cSGreg Roach <?= view('statistics/other/charts/column', [ 'data' => $data, 'chart_options' => $chart_options, 'chart_title' => '', 'language' => $language]) ?> 26a81e5019SRico Sonntag </div> 27a81e5019SRico Sonntag </div> 28a81e5019SRico Sonntag </div> 29a81e5019SRico Sonntag<?php endif; ?> 30