Overview
Progress bars are essential for visualizing completion status, goal achievement, and performance metrics. Cristalyse provides comprehensive progress bar support with multiple orientations and advanced styling options perfect for dashboards, project management tools, and analytics applications.Basic Progress Bars
Horizontal Progress Bar
The classic left-to-right progress visualization:Vertical Progress Bar
Bottom-to-top progress display:Circular Progress Bar
Ring-style progress indicators:Advanced Styles
Stacked Progress Bars
Multi-segment progress showing completion by category:- Project phase tracking
- Budget allocation visualization
- Time spent analysis
- Multi-category completion
Grouped Progress Bars
Side-by-side progress bars for category comparison:- Team performance comparison
- KPI tracking across departments
- A/B test results
- Multi-metric dashboards
Gauge Style
Semi-circular gauge-style indicators:Required Parameter: Gauge style progress bars require the
gaugeRadius
parameter to be specified.- System resource monitoring
- Performance dashboards
- Speed/capacity indicators
- Real-time metrics
Concentric Circles
Nested circular progress rings for multi-metric displays:- Multi-KPI dashboards
- Goal achievement tracking
- Health/fitness metrics
- Balanced scorecard visualizations
Styling & Customization
Colors & Themes
Progress bars automatically adapt to your theme:Custom Colors
Use custom color palettes for semantic meaning:Track Colors
Customize the background track color:Labels & Formatting
Show Percentage Labels
Display completion percentages:Custom Label Formatting
Interactive Features
Tooltips
Add hover information:Click Handlers
Respond to user interactions:Animations
Progressive Filling
Animate progress filling:Circular Animations
Smooth circular progress animations:Real-World Examples
Project Management Dashboard
System Monitoring Dashboard
Fitness Tracker
Configuration Options
ProgressOrientation
horizontal
- Left-to-right progressvertical
- Bottom-to-top progresscircular
- Ring-style circular progress
ProgressStyle
standard
- Single progress bar (default)stacked
- Multi-segment stacked progressgrouped
- Side-by-side grouped progressgauge
- Semi-circular gauge (requiresgaugeRadius
)concentric
- Nested circular rings
Common Parameters
Parameter | Type | Description |
---|---|---|
barThickness | double | Height (horizontal) or width (vertical) of progress bar |
cornerRadius | double | Border radius for rounded corners |
trackColor | Color | Background track color |
showLabels | bool | Display value labels |
labelFormatter | Function | Custom label formatting function |
labelStyle | TextStyle | Text style for labels |
startAngle | double | Start angle for circular progress (degrees) |
endAngle | double | End angle for circular progress (degrees) |
gaugeRadius | double | Radius for gauge-style progress (required for gauge) |
Best Practices
Data Structure
Ensure your data has the required fields:Value Ranges
Keep values within meaningful ranges:Performance
For real-time updates:Troubleshooting
Gauge style not displaying
Gauge style not displaying
Make sure you’ve specified the required
gaugeRadius
parameter:Progress bar too thin/thick
Progress bar too thin/thick
Adjust the
barThickness
parameter:Stacked segments not showing all categories
Stacked segments not showing all categories
Ensure your data includes the
group
parameter in mapping:Circular progress not starting at top
Circular progress not starting at top
Adjust the
startAngle
parameter:Related Documentation
- Animations - Add smooth progress animations
- Theming - Customize progress bar appearance
- Interactions - Add tooltips and click handlers
- Legends - Display category legends