我需要实现与此类似的甘特图https://www.primefaces.org/showcase/ui/data/timeline/custom.xhtml,但在charts_flutter或任何其他类似的库中似乎没有这样的图表。
我一直在任何流行的图表库中寻找类似的东西,但没有运气:(
检查链接..
class GanttChart extends StatelessWidget {
final AnimationController animationController;
final DateTime fromDate;
final DateTime toDate;
final List<Project> data;
final List<User> usersInChart;
int viewRange;
int viewRangeToFitScreen = 6;
Animation<double> width;
GanttChart({
this.animationController,
this.fromDate,
this.toDate,
this.data,
this.usersInChart,
}) {
viewRange = calculateNumberOfMonthsBetween(fromDate, toDate);
}
GitHub 链接
中等文章
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)