title property
Customizes the legend title.
Widget build(BuildContext context) {
return SfCartesianChart(
legend: Legend(
isVisible: true,
title: ChartTitle(
text: 'Countries'
)
)
);
}
Implementation
final LegendTitle title;