@use('App\Services\ApexChartService') @props([ 'id' => 'chart-' . uniqid(), 'title' => '', 'subtitle' => '', 'chart' => [ ...ApexChartService::$chart, 'type' => 'line', ], 'colors' => ApexChartService::$colors, 'series' => [], 'categories' => [], ])
@once @vite('resources/js/plugins/apexcharts.js') @endonce @push('scripts') @endpush