{{-- A bar chart of one series for a report, drawn by TallStackUI's server side SVG chart. The chart is one image named by its title and summary; the same figures are in the report's table, which the caption points to. No legend or tooltip: their controls would sit inside the image. --}} @props(['title', 'summary', 'labels' => [], 'values' => [], 'formatter' => null])
class('space-y-2') }}>
{{ $title }} {{ __('reports.chart_note') }}
@if ($values === [] || max(array_map('abs', $values)) == 0)

{{ __('reports.chart_empty') }}

@else @endif