legendDefaultMeasure property
LegendDefaultMeasure
get
legendDefaultMeasure
Option to show measures when selection is null.
By default this is set to none, so no measures are shown when there is no selection.
If legendDefaultMeasure is set to null, it is changed to the default of none.
Implementation
LegendDefaultMeasure get legendDefaultMeasure =>
legendEntryGenerator.legendDefaultMeasure;
set
legendDefaultMeasure
(LegendDefaultMeasure? legendDefaultMeasure)
Implementation
set legendDefaultMeasure(LegendDefaultMeasure? legendDefaultMeasure) {
legendEntryGenerator.legendDefaultMeasure =
legendDefaultMeasure ?? LegendDefaultMeasure.none;
}