title property

ChartTitle title
final

Customizes the chart title.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           title: ChartTitle(
                   text: 'Area with animation',
                   alignment: ChartAlignment.center,
                   backgroundColor: Colors.white,
                   borderColor: Colors.transparent,
                   borderWidth: 0)
       )
   );
}

Implementation

final ChartTitle title;