Overview
The Statistics screen provides detailed analytics with interactive charts, graphs, and comprehensive reporting tools for data-driven decision making.Statistics Screen
Access advanced analytics from the admin panel’s Statistics tab:admin/presentation/screens/statistics_screen.dart
Time Period Selection
Filter reports by customizable time periods:- 7 Days
- 30 Days
- All Time
View metrics for the last week - ideal for short-term trends
Period Selector Implementation
admin/presentation/screens/statistics_screen.dart
Registration Trends Chart
Visualize new user registrations over time with an interactive line chart:
Chart Data Structure
Line Chart Implementation
admin/presentation/screens/statistics_screen.dart
Metrics Grid
A comprehensive grid displaying key platform statistics:Total Users
All registered users on the platform
Total Clients
Passenger accounts (ride requesters)
Total Drivers
Active driver accounts
Trip Requests
All trip requests (completed, cancelled, in progress)
Stat Card Implementation
admin/presentation/screens/statistics_screen.dart
Trip Distribution Chart
Interactive pie chart showing the breakdown of trip statuses:
Distribution Data
Pie Chart Implementation
admin/presentation/screens/statistics_screen.dart
Chart Legend
admin/presentation/screens/statistics_screen.dart
Chart Color Coding
Data Refresh
1
Pull to Refresh
Swipe down to manually reload all statistics
2
Period Change
Changing the time period automatically refreshes data
3
Navigation Refresh
Statistics reload when navigating back to the tab
Loading States
The statistics screen implements shimmer loading for all chart components:admin/presentation/screens/statistics_screen.dart
Empty State Handling
admin/presentation/screens/statistics_screen.dart
Animation System
Smooth animations enhance the user experience:admin/presentation/screens/statistics_screen.dart
All charts are interactive - tap on data points for detailed information.
Export Options
Best Practices
Regular Monitoring
Regular Monitoring
Check statistics weekly to identify trends in user growth and trip activity.
Compare Periods
Compare Periods
Use different time periods to compare performance across weeks, months, and overall.
Track Cancellations
Track Cancellations
Monitor the cancellation rate - a high percentage may indicate service issues.
Growth Analysis
Growth Analysis
Use the registration chart to measure marketing campaign effectiveness.
Related Features
Dashboard
Quick metrics overview
Audit Logs
Detailed activity tracking
Trip Monitoring
Real-time trip tracking