© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
2 replies
Felipe Castro

Custom Chart Widget

Hello, I'm trying to create a widget that loads dinamicaly a different number of charts, but I couldn´t get javascript code injected.

this should work, no?
-- nps-chart-widget.blade.php --

@push('scripts')
<script>
console.log('eiajeijaioe');
</script>
@endpush
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Dynamically creating chart widgets, or creating a custom multi-chart widget?
FilamentFFilament / ❓┊help
3y ago
Chart Widget - Ticks
FilamentFFilament / ❓┊help
2y ago
Widget with chart
FilamentFFilament / ❓┊help
3y ago
Example of using chart in custom widget
FilamentFFilament / ❓┊help
9mo ago