legend property

Legend legend
final

Customizes the legend in the chart.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           legend: Legend(isVisible: true),
       ));
}

Implementation

final Legend legend;