SMS Count in Project - Interface Documentation
Overview
The 'SMS Count in Project' interface is part of the web application dashboard for monitoring SMS activity across various projects. It provides a visual representation of SMS volume over time, filtered by date, country, and project.

Filters and Controls
- Date Range Selector: Choose a start and end date to filter SMS data.
- Select Country: Dropdown menu to filter results by one or more countries.
- Select Project: Dropdown menu to filter by one or more projects.
- Group By: Choose how data is grouped (e.g., Month, Week, Day).
- Filter Button: Applies the selected filters and updates the graph.
- Reset Button: Clears all filters and restores the default view.
Chart Visualization
The main visual component is a bar chart generated using Chart.js. It displays the number of SMS messages sent across selected projects and time periods.
- X-Axis: Represents time based on the selected 'Group By' interval (e.g., Month).
- Y-Axis: Represents the count of SMS messages.
- Color-coded Legend: Each project has a unique color.
- Interactive: Clicking on a bar opens a detailed view of the SMS data for that time segment.
Backend Integration
The 'Filter' button triggers a query to the backend database to retrieve filtered SMS data based on the selected criteria.