v1.0.1chart_components
Two chart components for Flutter. Animated bar chart and animated calendar grid chart based on the github's one. Many properties to customize.
49Likes 9230-day downloads70Pub points
Platforms unavailable
Animated bar char component for Flutter
{"sdk":"flutter"}{"sdk":"flutter"}English project snapshot. Visit GitHub for the latest content.
Customizable bar chart for Flutter. The component calculates min and max of data and resizes bars as needed.
bar chart
calendar grid
Demo:
To use plugin, just import package import 'package:chart_components/chart_components.dart';
Check de example directory to access the project that implements the image shown above.
........
CalendarGrid(
year: 2020,
month: 1,
getColorOfDay: DataRepository.getDayColor,
animationDuration: Duration(milliseconds: 1500),
),
...........
child: BarChart(
data: data,
labels: labels,
dislplayValue: true,
reverse: true,
getColor: DataRepository.getColor,
getIcon: DataRepository.getIcon,
barWidth: 42,
barSeparation: 12,
animationDuration: Duration(milliseconds: 1800),
animationCurve: Curves.easeInOutSine,
itemRadius: 30,
iconHeight: 24,
footerHeight: 24,
headerValueHeight: 16,
roundValuesOnText: false,
lineGridColor: Colors.lightBlue,
),