diff --git a/composer.json b/composer.json index 2bb1bbd75..dae2e5c10 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,6 @@ "license": "MIT", "require": { "php": "^7.4|^8.0", - "asantibanez/livewire-charts": "^2.3", "blade-ui-kit/blade-heroicons": "^0.3", "calebporzio/sushi": "^2.1", "danharrin/date-format-converter": "^0.2.0", diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index d2a6687de..c35707979 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -1,7 +1,3 @@ -@pushonce('filament-scripts:livewire-charts') - @livewireChartsScripts -@endpushonce -
@@ -87,23 +83,6 @@ class="flex items-center space-x-1"
- - - - Chart Setting... - - - - Another Chart Setting... - - -
- -
-
- widget content... diff --git a/src/Http/Livewire/Dashboard.php b/src/Http/Livewire/Dashboard.php index ab402d090..a124ac7b5 100644 --- a/src/Http/Livewire/Dashboard.php +++ b/src/Http/Livewire/Dashboard.php @@ -3,19 +3,13 @@ namespace Filament\Http\Livewire; use Livewire\Component; -use Asantibanez\LivewireCharts\Models\ColumnChartModel; class Dashboard extends Component { public function render() { return view('filament::.dashboard', [ - 'chart' => (new ColumnChartModel()) - ->setTitle('Sample Chart') - ->addColumn('Column 1', 100, '#f6ad55') - ->addColumn('Column 2', 200, '#fc8181') - ->addColumn('Column 3', 300, '#90cdf4'), - + //... ])->layout('filament::components.layouts.app'); } }