v1.0.1chart_components
两个用于 Flutter 的图表组件。基于 GitHub 上的动画条形图和动画日历网格图。许多可自定义属性。
49喜欢 92近 30 天下载70Pub 分数
平台暂无数据
适用于 Flutter 的动画条形图组件
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
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,
),