legendIconType property
Property to provide icon type for the technical indicators legend.
Defaults to LegendIconType.seriesType
.
Widget build(BuildContext context) {
return GraphTool(
indicators: <TechnicalIndicator<Sample, num>>[
StochasticIndicator<Sample, num>(
legendIconType: LegendIconType.diamond
),
],
);
}
Implementation
final LegendIconType legendIconType;