legend property

Legend get legend

The legend component. It is filled from the data sets unless a custom legend is set on it.

Implementation

Legend get legend => _legend;
  1. @protected
set legend (Legend value)

Implementation

@protected
set legend(Legend value) => _legend = value;