legends property

List<Legend>? legends
final

List of legends.

If left empty or null, no lengends will be shown at bottom of chart.

The order of defined legends should be the same order of defined lines in LineChart to match index,

Implementation

final List<Legend>? legends;