@can('view', \App\Models\Asset::class)

{{ (\App\Models\Setting::getSettings()->dash_chart_type == 'name') ? trans('general.assets_by_status') : trans('general.assets_by_status_type') }}

{{-- Fixed-height wrapper with position:relative is the stable Chart.js responsive pattern. Canvas inside has no dimensions of its own and the responsive resize fills the wrapper. Height:100% here caused a resize loop against the flex-stretched box-body. Pinning to 300px gives the pie enough room without dominating the row. --}}
@endcan