legend property

GraphLegendLayout? get legend

The legend as drawn; null when the spec has none, there is nothing to tell apart, or it has no room.

Implementation

GraphLegendLayout? get legend {
  if (!_legendDone) {
    _legendDone = true;
    _legend = _layoutLegend();
  }
  return _legend;
}