height property
The height of the legend.
It takes percentage value from the overall chart height.
Defaults to null
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true,
height: '30%')
));
}
Implementation
final String? height;