User Interface medium complexity mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

A reusable Flutter chart widget built on fl_chart that visualises peer mentor activity trends over time. Supports both bar and line chart modes for weekly, monthly, and yearly views. Meets WCAG 2.2 AA colour contrast requirements.

Feature: Personal Activity Statistics

activity-chart-widget

Responsibilities

  • Render bar or line chart from aggregated activity data
  • Support switching between weekly, monthly, and yearly chart views
  • Ensure accessible colour contrast (WCAG 2.2 AA) on all chart elements
  • Animate chart transitions when data or range changes

Interfaces

ActivityChartWidget({data, chartType, dateRange})
onChartTypeToggled(type)
onDataPointTapped(entry)
buildBarChart()
buildLineChart()
getAccessibleColor(index)

Related Data Entities (1)

Data entities managed by this component