legendIconType property

LegendIconType legendIconType
final

Property to provide icon type for the technical indicators legend.

Deafults to LegendIconType.seriesType.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               legendIconType :  LegendIconType.diamond,
             ),
           ],
       ));
}

Implementation

final LegendIconType legendIconType;