showLegend property

bool showLegend
final

Set to false to hide the legend but still render the chart; useful when you want to manage toggling via your own UI.

Implementation

final bool showLegend;