fl_animated linechart
an animated linechart library for flutter.
- support for datetime xaxis
- highlight selection
- animation the chart
getting started
try the sample project or include in your project.
example code:
linechart linechart = linechart.fromdatetimemaps([line1, line2], [colors.green, colors.blue]);
return scaffold(
appbar: appbar(
title: text(widget.title),
),
body: container(
child: column(
mainaxissize: mainaxissize.max,
mainaxisalignment: mainaxisalignment.spacebetween,
crossaxisalignment: crossaxisalignment.stretch,
children: [
expanded(child: animatedlinechart(linechart)),
]
),
),
);
Comments are closed.