The Chart component requires a Flux Pro license. Learn more about Flux Pro.
Overview
The Chart component provides powerful data visualization capabilities with support for multiple chart types including line, bar, pie, and area charts. Built for Livewire, it enables reactive, real-time chart updates with beautiful animations and responsive design.Basic Usage
Create a simple line chart:Line Chart
Display trends over time:Bar Chart
Compare values across categories:Pie Chart
Show proportional data:Area Chart
Display cumulative trends:Multiple Datasets
Compare multiple metrics:Real-time Updates
Update charts dynamically with Livewire:Customization
Customize chart appearance and behavior:Use Cases
Analytics Dashboard
Display key metrics like traffic, conversions, and revenue in visual format.
Sales Reports
Show sales performance, trends, and comparisons across periods.
Resource Monitoring
Visualize server performance, API usage, or system health metrics.
User Insights
Track user growth, engagement, and behavior patterns over time.
Chart Types
Line Charts
Ideal for showing trends over time, comparing multiple metrics, or displaying continuous data.Bar Charts
Perfect for comparing discrete categories, showing rankings, or displaying survey results.Pie Charts
Best for showing proportions, market share, or percentage breakdowns.Area Charts
Great for emphasizing magnitude of change over time or showing cumulative values.Features
- Responsive design that adapts to container size
- Smooth animations and transitions
- Interactive tooltips and legends
- Export to image functionality
- Accessibility features for screen readers
- Touch-friendly for mobile devices
Accessibility
Charts include accessibility features:- Alternative text descriptions
- Keyboard navigation support
- Screen reader compatible data tables
- High contrast mode support