legendIconType property
Shape of the legend icon.
Defaults to LegendIconType.seriesType
.
Also refer LegendIconType.
Widget build(BuildContext context) {
return Container(
child: SfPyramidChart(
series: PyramidSeries<ChartData, String>(
legendIconType: LegendIconType.diamond,
)
)
);
}
Implementation
@override
final LegendIconType legendIconType;