Skip to main content

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:
View metrics for the last week - ideal for short-term trends

Period Selector Implementation

admin/presentation/screens/statistics_screen.dart
Visualize new user registrations over time with an interactive line chart: Registration Trends

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: Trip Distribution

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

Export functionality is planned for future releases. Currently, you can take screenshots of charts for reporting.

Best Practices

Check statistics weekly to identify trends in user growth and trip activity.
Use different time periods to compare performance across weeks, months, and overall.
Monitor the cancellation rate - a high percentage may indicate service issues.
Use the registration chart to measure marketing campaign effectiveness.

Dashboard

Quick metrics overview

Audit Logs

Detailed activity tracking

Trip Monitoring

Real-time trip tracking