/ Chart

An animated linechart library for flutter

An animated linechart library for flutter

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.

withSelection

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)),
        ]
    ),
  ),
);

GitHub