How can I draw one horizontal line over the chart (see blue line below) ? I was wondering how to draw one line over or above the bars to define the target value (4.7 in this example)
Another feature that I would like to know is how to show the data value over each bar? See image below.
Thanks in advance.
class CustomRoundedBars extends StatelessWidget {
final List<charts.Series> seriesList;
final bool animate;
CustomRoundedBars(this.seriesList, {this.animate});
factory CustomRoundedBars.withSampleData() {
return new CustomRoundedBars(
_createSampleData(),
// Disable animations for image tests.
animate: false,
);
}
@override
Widget build(BuildContext context) {
return new charts.BarChart(
seriesList,
animate: animate,
defaultRenderer: new charts.BarRendererConfig(
cornerStrategy: const charts.ConstCornerStrategy(10)),
);
}

