showMeasures property

bool get showMeasures

Whether or not the legend should show measures.

By default this is false, measures are not shown. When set to true, the default behavior is to show measure only if there is selected data. Please set legendDefaultMeasure to something other than none to enable showing measures when there is no selection.

If showMeasures is set to null, it is changed to the default of false.

Implementation

bool get showMeasures => _showMeasures;
set showMeasures (bool? showMeasures)

Implementation

set showMeasures(bool? showMeasures) {
  _showMeasures = showMeasures ?? false;
}